[ovs-dev] [PATCH 3/6] ovsdb: Destroy allocated hmap.

Justin Pettit jpettit at nicira.com
Thu Oct 22 22:57:27 UTC 2015


Signed-off-by: Justin Pettit <jpettit at nicira.com>
---
 ovsdb/monitor.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/ovsdb/monitor.c b/ovsdb/monitor.c
index 8a64fc1..a6e25c9 100644
--- a/ovsdb/monitor.c
+++ b/ovsdb/monitor.c
@@ -990,6 +990,7 @@ ovsdb_monitor_destroy(struct ovsdb_monitor *dbmon)
             hmap_remove(&mt->changes, &changes->hmap_node);
             ovsdb_monitor_changes_destroy(changes);
         }
+        hmap_destroy(&mt->changes);
         free(mt->columns);
         free(mt);
     }
-- 
1.7.5.4




More information about the dev mailing list