X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=ofproto%2Fofproto-dpif.c;h=4a6852b1ad8195e4556c7d1386a10a129a5c80f8;hb=8e9a73fa94560a175a211264c07c3519615edaf7;hp=85e5376330ac698b33ae8c77ff9b79b10c6e245c;hpb=2be0b371712ddf1fc2aaac81672b2196b6df891f;p=sliver-openvswitch.git diff --git a/ofproto/ofproto-dpif.c b/ofproto/ofproto-dpif.c index 85e537633..4a6852b1a 100644 --- a/ofproto/ofproto-dpif.c +++ b/ofproto/ofproto-dpif.c @@ -1674,7 +1674,7 @@ set_cfm(struct ofport *ofport_, const struct cfm_settings *s) error = EINVAL; } - cfm_destroy(ofport->cfm); + cfm_unref(ofport->cfm); ofport->cfm = NULL; return error; }