connmgr: Dealloc 'bundles' in ofconn_destroy().
authorJarno Rajahalme <jrajahalme@nicira.com>
Mon, 22 Dec 2014 19:31:17 +0000 (11:31 -0800)
committerJarno Rajahalme <jrajahalme@nicira.com>
Mon, 22 Dec 2014 19:31:17 +0000 (11:31 -0800)
Signed-off-by: Jarno Rajahalme <jrajahalme@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
ofproto/connmgr.c

index 6bcf5d4..08abe1e 100644 (file)
@@ -1298,6 +1298,7 @@ ofconn_destroy(struct ofconn *ofconn)
     }
 
     ofp_bundle_remove_all(ofconn);
+    hmap_destroy(&ofconn->bundles);
 
     hmap_destroy(&ofconn->monitors);
     list_remove(&ofconn->node);