ovsdb-idlc: Fix memory leak in "optional bool" columns.
authorBen Pfaff <blp@nicira.com>
Thu, 22 Mar 2012 20:24:23 +0000 (13:24 -0700)
committerBen Pfaff <blp@nicira.com>
Fri, 23 Mar 2012 17:15:05 +0000 (10:15 -0700)
commitf7f53d381d2c271185357682741e833d67d5508d
tree006b708148e2e888ab5ebab45e6ffec5ff75d8ec
parentf67f13545ebe61e02dc3aee98b60dc362f96946c
ovsdb-idlc: Fix memory leak in "optional bool" columns.

Commit 1bf2c9096858 (idl: Generalize special case boolean exception.)
changed the IDL to do dynamic allocation with (x)malloc() for optional
booleans, but it didn't add the corresponding calls to free().  This
commit fixes the problem.

Bug #10357.
Reported-by: Paul Ingram <paul@nicira.com>
Reported-by: Krishna Miriyala <krishna@nicira.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
ovsdb/ovsdb-idlc.in