mac-learning: Reference count 'struct mac_learning".
[sliver-openvswitch.git] / ofproto / ofproto-dpif.c
index 87b44f2..d0e1b4c 100644 (file)
@@ -1197,7 +1197,7 @@ destruct(struct ofproto *ofproto_)
     netflow_destroy(ofproto->netflow);
     dpif_sflow_destroy(ofproto->sflow);
     hmap_destroy(&ofproto->bundles);
-    mac_learning_destroy(ofproto->ml);
+    mac_learning_unref(ofproto->ml);
 
     classifier_destroy(&ofproto->facets);