diff options
author | Ben Pfaff <blp@nicira.com> | 2013-01-18 15:17:15 -0800 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2013-03-12 09:22:00 -0700 |
commit | 4458fc9b1394cc32d48a5a7b3cafa20e3bbe8362 (patch) | |
tree | a6625f4dd73d5ccf2e1d51079d1ddd966b199044 /ofproto | |
parent | d842d7b4e1989495710496ff016ebab6fb58ca0b (diff) |
connmgr: Fix memory leak in ofconn monitor table.
Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Ethan Jackson <ethan@nicira.com>
Diffstat (limited to 'ofproto')
-rw-r--r-- | ofproto/connmgr.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ofproto/connmgr.c b/ofproto/connmgr.c index b94c3379..32006609 100644 --- a/ofproto/connmgr.c +++ b/ofproto/connmgr.c @@ -1177,6 +1177,7 @@ ofconn_destroy(struct ofconn *ofconn) hmap_remove(&ofconn->connmgr->controllers, &ofconn->hmap_node); } + hmap_destroy(&ofconn->monitors); list_remove(&ofconn->node); rconn_destroy(ofconn->rconn); rconn_packet_counter_destroy(ofconn->packet_in_counter); |