expr_symtab_destroy() destroys the contents of the symtab shash, but not
the shash itself.  Add a missing shash_destroy() call in
lflow_destroy().

Signed-off-by: Russell Bryant <russ...@ovn.org>
---
 ovn/controller/lflow.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/ovn/controller/lflow.c b/ovn/controller/lflow.c
index bcad318..7a3466f 100644
--- a/ovn/controller/lflow.c
+++ b/ovn/controller/lflow.c
@@ -443,4 +443,5 @@ void
 lflow_destroy(void)
 {
     expr_symtab_destroy(&symtab);
+    shash_destroy(&symtab);
 }
-- 
2.5.5

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

Reply via email to