git://git.onelab.eu
/
sliver-openvswitch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cea0c39
)
test-ovsdb: Don't leak return value from ovsdb_txn_commit().
author
Justin Pettit
<jpettit@nicira.com>
Wed, 23 Feb 2011 02:02:20 +0000
(18:02 -0800)
committer
Justin Pettit
<jpettit@nicira.com>
Wed, 23 Feb 2011 19:08:20 +0000
(11:08 -0800)
Coverity #10727
tests/test-ovsdb.c
patch
|
blob
|
history
diff --git
a/tests/test-ovsdb.c
b/tests/test-ovsdb.c
index
aca68dc
..
40d8a8d
100644
(file)
--- a/
tests/test-ovsdb.c
+++ b/
tests/test-ovsdb.c
@@
-1344,7
+1344,7
@@
static struct ovsdb_table *do_transact_table;
static void
do_transact_commit(int argc OVS_UNUSED, char *argv[] OVS_UNUSED)
{
- ovsdb_
txn_commit(do_transact_txn, false
);
+ ovsdb_
error_destroy(ovsdb_txn_commit(do_transact_txn, false)
);
do_transact_txn = NULL;
}