ovsdb: Destroy allocated hmap.
authorJustin Pettit <jpettit@nicira.com>
Thu, 22 Oct 2015 07:08:15 +0000 (00:08 -0700)
committerJustin Pettit <jpettit@nicira.com>
Fri, 23 Oct 2015 01:00:16 +0000 (18:00 -0700)
Signed-off-by: Justin Pettit <jpettit@nicira.com>
Acked-by: Andy Zhou <azhou@nicira.com>
ovsdb/monitor.c

index 8a64fc1..a6e25c9 100644 (file)
@@ -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);
     }