ovn-controller: Add missing shash_destroy().
authorRussell Bryant <russell@ovn.org>
Tue, 5 Apr 2016 18:31:04 +0000 (14:31 -0400)
committerRussell Bryant <russell@ovn.org>
Mon, 11 Apr 2016 19:55:12 +0000 (15:55 -0400)
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 <russell@ovn.org>
Acked-by: Ben Pfaff <blp@ovn.org>
ovn/controller/lflow.c

index bcad318..7a3466f 100644 (file)
@@ -443,4 +443,5 @@ void
 lflow_destroy(void)
 {
     expr_symtab_destroy(&symtab);
+    shash_destroy(&symtab);
 }