diff mbox

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

Message ID 1445554650-21984-2-git-send-email-jpettit@nicira.com
State Accepted
Headers show

Commit Message

Justin Pettit Oct. 22, 2015, 10:57 p.m. UTC
Signed-off-by: Justin Pettit <jpettit@nicira.com>
---
 ovsdb/ovsdb-server.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

Comments

Andy Zhou Oct. 22, 2015, 11:40 p.m. UTC | #1
On Thu, Oct 22, 2015 at 3:57 PM, Justin Pettit <jpettit@nicira.com> wrote:
> Signed-off-by: Justin Pettit <jpettit@nicira.com>
> ---
>  ovsdb/ovsdb-server.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
>
Acked-by: Andy Zhou <azhou@nicira.com>
diff mbox

Patch

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);