Destroy shash on destroy of session's condition structure.
Reported here: http://openvswitch.org/pipermail/dev/2016-July/075968.html

Signed-off-by: Liran Schour <lir...@il.ibm.com>
---
 ovsdb/monitor.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/ovsdb/monitor.c b/ovsdb/monitor.c
index 99083e1..9a6fbf5 100644
--- a/ovsdb/monitor.c
+++ b/ovsdb/monitor.c
@@ -617,6 +617,7 @@ ovsdb_monitor_session_condition_destroy(
         shash_delete(&condition->tables, node);
         free(mtc);
     }
+    shash_destroy(&condition->tables);
     free(condition);
 }
 
-- 
2.1.4

_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to