aboutsummaryrefslogtreecommitdiff
path: root/tests/test-ovsdb.c
diff options
context:
space:
mode:
authorJustin Pettit <jpettit@nicira.com>2011-02-22 18:02:20 -0800
committerJustin Pettit <jpettit@nicira.com>2011-02-23 11:08:20 -0800
commit85683160294584a636ef07d5039c77acf616d82d (patch)
tree1854d9b8674c91348e12126b42ceafc12d6ad922 /tests/test-ovsdb.c
parentcea0c3936779b1b7e1001165bcc7763e1a60355c (diff)
test-ovsdb: Don't leak return value from ovsdb_txn_commit().
Coverity #10727
Diffstat (limited to 'tests/test-ovsdb.c')
-rw-r--r--tests/test-ovsdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-ovsdb.c b/tests/test-ovsdb.c
index aca68dcd..40d8a8d2 100644
--- 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;
}