ofproto-dpif: Fix memory leak of mirrors in bundle_destroy().
[cascardo/ovs.git] / ofproto / ofproto-dpif.c
index dc555dd..c18ed32 100644 (file)
@@ -2309,7 +2309,7 @@ bundle_destroy(struct ofbundle *bundle)
     }
 
     ofproto = bundle->ofproto;
-    mbridge_unregister_bundle(ofproto->mbridge, bundle->aux);
+    mbridge_unregister_bundle(ofproto->mbridge, bundle);
 
     ovs_rwlock_wrlock(&xlate_rwlock);
     xlate_bundle_remove(bundle);