From 85683160294584a636ef07d5039c77acf616d82d Mon Sep 17 00:00:00 2001 From: Justin Pettit Date: Tue, 22 Feb 2011 18:02:20 -0800 Subject: [PATCH] test-ovsdb: Don't leak return value from ovsdb_txn_commit(). Coverity #10727 --- tests/test-ovsdb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.30.2