[ovs-dev] [PATCH] ovsdb-idl: Fix memory leak in ovsdb_idl_destroy()

Ben Pfaff blp at ovn.org
Wed Apr 4 20:50:22 UTC 2018


Signed-off-by: Ben Pfaff <blp at ovn.org>
---
 lib/ovsdb-idl.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/ovsdb-idl.c b/lib/ovsdb-idl.c
index 11794a869fda..310995d9a1aa 100644
--- a/lib/ovsdb-idl.c
+++ b/lib/ovsdb-idl.c
@@ -517,6 +517,7 @@ ovsdb_idl_destroy(struct ovsdb_idl *idl)
         jsonrpc_session_close(idl->session);
 
         ovsdb_idl_db_destroy(&idl->data);
+        ovsdb_idl_db_destroy(&idl->server);
         json_destroy(idl->request_id);
         free(idl);
     }
-- 
2.16.1



More information about the dev mailing list