ovsdb: Warn when result of ovsdb_txn_commit() is ignored and fix caller.
authorJustin Pettit <jpettit@nicira.com>
Wed, 23 Feb 2011 18:39:21 +0000 (10:39 -0800)
committerJustin Pettit <jpettit@nicira.com>
Wed, 23 Feb 2011 19:08:20 +0000 (11:08 -0800)
commit5f8e32136eacbc91b7422b17d8208a64cfb3b8b9
tree9fa2fb9a69d6130d9b149d7f54c5f70675b046fe
parent828cd4c7cd666b93f72d57e5932b5becf0809619
ovsdb: Warn when result of ovsdb_txn_commit() is ignored and fix caller.

ovsdb_txn_commit() may return a ovsdb_error structure, which should be
freed by the caller.  The only remaining caller that discards the result
is in ovsdb_file_open__(), which this fixes.

Suggested-by: Ben Pfaff <blp@nicira.com>
ovsdb/file.c
ovsdb/transaction.h