ovsdb-idl: Fix memory leak.
authorBen Pfaff <blp@nicira.com>
Wed, 15 Aug 2012 23:19:47 +0000 (16:19 -0700)
committerBen Pfaff <blp@nicira.com>
Thu, 16 Aug 2012 15:22:00 +0000 (08:22 -0700)
Found by valgrind.

Signed-off-by: Ben Pfaff <blp@nicira.com>
lib/ovsdb-idl.c

index 534beb0..6118852 100644 (file)
@@ -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);
     }
 }