ovs-vsctl: Fix a segfault.
authorGurucharan Shetty <gshetty@nicira.com>
Wed, 10 Apr 2013 18:55:06 +0000 (11:55 -0700)
committerGurucharan Shetty <gshetty@nicira.com>
Fri, 12 Apr 2013 21:24:25 +0000 (14:24 -0700)
commit6ec25c4c3fc5c9f69eae4af6adbe06a3f1993e10
tree025e97bc1b17f6aa966205f530d123fd6037e592
parentfb9a39015716d47f8d922de9fc2478b25a5bf946
ovs-vsctl: Fix a segfault.

The following two commands results in a ovs-vsctl segfault.
ovs-vsctl -vfatal_signal:off --timeout=0 wait-until \
Open_vswitch . external_ids:blah="1"
/etc/init.d/openvswitch-switch restart

This patch fixes the segfault by properly setting the global
varibale, the_idl_txn to NULL when the underlying memory is
freed.

Signed-off-by: Gurucharan Shetty <gshetty@nicira.com>
utilities/ovs-vsctl.c