[ovs-dev] [PATCH 2/6] ovsdb-server: Destroy allocated shash.

Justin Pettit jpettit at nicira.com
Thu Oct 22 22:57:26 UTC 2015


Signed-off-by: Justin Pettit <jpettit at nicira.com>
---
 ovsdb/ovsdb-server.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/ovsdb/ovsdb-server.c b/ovsdb/ovsdb-server.c
index 0c34820..97b65b6 100644
--- a/ovsdb/ovsdb-server.c
+++ b/ovsdb/ovsdb-server.c
@@ -337,6 +337,7 @@ main(int argc, char *argv[])
         close_db(db);
         shash_delete(&all_dbs, node);
     }
+    shash_destroy(&all_dbs);
     sset_destroy(&remotes);
     sset_destroy(&db_filenames);
     unixctl_server_destroy(unixctl);
-- 
1.7.5.4




More information about the dev mailing list