git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
test-ovsdb: Don't leak return value from ovsdb_txn_commit().
[sliver-openvswitch.git]
/
tests
/
test-ovsdb.c
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;
}