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:22:42 +0000 (14:22 -0700)
commit3697c0626f338f4dbeb69cdb08b84f79980acaad
tree827fc2f855d2b0ffee0da41c1befd25e2229fdc2
parent2bed68ff28f525b2153131df64976d4aea2b3aa0
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