projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a0a5bb
)
ovsdb-idl: Fix memory leak.
author
Ben Pfaff
<blp@nicira.com>
Wed, 15 Aug 2012 23:19:47 +0000
(16:19 -0700)
committer
Ben 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
patch
|
blob
|
history
diff --git
a/lib/ovsdb-idl.c
b/lib/ovsdb-idl.c
index 534beb02cf404d811228f0f9cedde95daff8202a..6118852487bfb61123848c94f18a54ea731a7eb7 100644
(file)
--- 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);
}
}