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:12:40 +0000 (14:12 -0700)
commit85f6063580158a46421455aaf8a68d78ff020bde
tree48cec2051eb8334829a702aea5a8fc702c1e5f77
parent0a69a5e4d4560fd462c0b39804f496742a7927fe
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