From: Ben Pfaff Date: Wed, 15 Aug 2012 23:19:47 +0000 (-0700) Subject: ovsdb-idl: Fix memory leak. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=da157f1ef48b002b172fe4914679b8c483011bc4;p=openvswitch ovsdb-idl: Fix memory leak. Found by valgrind. Signed-off-by: Ben Pfaff --- diff --git a/lib/ovsdb-idl.c b/lib/ovsdb-idl.c index 534beb02..61188524 100644 --- a/lib/ovsdb-idl.c +++ b/lib/ovsdb-idl.c @@ -230,6 +230,7 @@ ovsdb_idl_destroy(struct ovsdb_idl *idl) json_destroy(idl->monitor_request_id); free(idl->lock_name); json_destroy(idl->lock_request_id); + hmap_destroy(&idl->outstanding_txns); free(idl); } }