diff mbox

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

Message ID 1445554650-21984-3-git-send-email-jpettit@nicira.com
State Accepted
Headers show

Commit Message

Justin Pettit Oct. 22, 2015, 10:57 p.m. UTC
Signed-off-by: Justin Pettit <jpettit@nicira.com>
---
 ovsdb/monitor.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

Comments

Andy Zhou Oct. 22, 2015, 11:42 p.m. UTC | #1
On Thu, Oct 22, 2015 at 3:57 PM, Justin Pettit <jpettit@nicira.com> wrote:
> Signed-off-by: Justin Pettit <jpettit@nicira.com>
> ---
>  ovsdb/monitor.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
>
Acked-by: Andy Zhou <azhou@nicira.com>
diff mbox

Patch

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);
     }