diff options
| author | Justin Pettit <jpettit@nicira.com> | 2011-02-22 18:02:20 -0800 |
|---|---|---|
| committer | Justin Pettit <jpettit@nicira.com> | 2011-02-23 11:08:20 -0800 |
| commit | 85683160294584a636ef07d5039c77acf616d82d (patch) | |
| tree | 1854d9b8674c91348e12126b42ceafc12d6ad922 /tests | |
| parent | cea0c3936779b1b7e1001165bcc7763e1a60355c (diff) | |
| download | openvswitch-85683160294584a636ef07d5039c77acf616d82d.tar.gz | |
test-ovsdb: Don't leak return value from ovsdb_txn_commit().
Coverity #10727
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/test-ovsdb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-ovsdb.c b/tests/test-ovsdb.c index aca68dcd3..40d8a8d24 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; } |
