ovsdb-server: Destroy allocated shash.
authorJustin Pettit <jpettit@nicira.com>
Thu, 22 Oct 2015 06:58:10 +0000 (23:58 -0700)
committerJustin Pettit <jpettit@nicira.com>
Fri, 23 Oct 2015 01:00:16 +0000 (18:00 -0700)
Signed-off-by: Justin Pettit <jpettit@nicira.com>
Acked-by: Andy Zhou <azhou@nicira.com>
ovsdb/ovsdb-server.c

index 0c34820..97b65b6 100644 (file)
@@ -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);