[ovs-dev] [bugfixes 4/6] ofproto-dpif-mirror: Fix memory leak in mbridge_unref().
Ben Pfaff
blp at nicira.com
Wed Sep 4 19:39:46 UTC 2013
Found by valgrind.
Signed-off-by: Ben Pfaff <blp at nicira.com>
---
ofproto/ofproto-dpif-mirror.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/ofproto/ofproto-dpif-mirror.c b/ofproto/ofproto-dpif-mirror.c
index 9734718..0819b72 100644
--- a/ofproto/ofproto-dpif-mirror.c
+++ b/ofproto/ofproto-dpif-mirror.c
@@ -125,6 +125,7 @@ mbridge_unref(struct mbridge *mbridge)
mbridge_unregister_bundle(mbridge, mbundle->ofbundle);
}
+ hmap_destroy(&mbridge->mbundles);
free(mbridge);
}
--
1.7.10.4
More information about the dev
mailing list