ovsdb: Fix segfault in ovsdb_file_txn_row_from_json().
authorBen Pfaff <blp@nicira.com>
Wed, 6 Jul 2011 21:22:42 +0000 (14:22 -0700)
committerBen Pfaff <blp@nicira.com>
Wed, 6 Jul 2011 21:30:08 +0000 (14:30 -0700)
commitdde0c4faf54836833388191b405ac2f81dda4b6c
tree5570319e37c86aa19a93d78bd8557f4bb890d737
parentdcc7dcb28cd274f4bd36dc41f411b4865e5e6458
ovsdb: Fix segfault in ovsdb_file_txn_row_from_json().

If 'error' is nonnull then we destroy the row, so we must not try to reuse
the row immediately after that.

Support request #6155.
Repoted-by: Geoff White <gwhite@nicira.com>
ovsdb/file.c