From 75926610dd570365089753768fe2f5bf5a028d2e Mon Sep 17 00:00:00 2001 From: Han Zhou Date: Wed, 6 Mar 2019 09:01:21 -0800 Subject: [PATCH] ovsdb-idl: Fix memory leak of idl->remote. Reported by Address Sanitizer. Fixes: 5e07b8f93f03 ("ovsdb-idl: New function ovsdb_idl_create_unconnected().") Signed-off-by: Han Zhou Signed-off-by: Ben Pfaff --- lib/ovsdb-idl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/ovsdb-idl.c b/lib/ovsdb-idl.c index 8cfb20133..ed2b30a08 100644 --- a/lib/ovsdb-idl.c +++ b/lib/ovsdb-idl.c @@ -571,6 +571,7 @@ ovsdb_idl_destroy(struct ovsdb_idl *idl) ovsdb_idl_db_destroy(&idl->server); ovsdb_idl_db_destroy(&idl->data); json_destroy(idl->request_id); + free(idl->remote); free(idl); } } -- 2.39.5