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:19:05 +0000 (10:19 -0700)
commit1a0d41fd93880f44372ee20faf77f3a036ef2d23
tree3c10cd48ff3ebe2309c867e65523344939328594
parenta0f255df08f928591bd35c09d052b6793449e334
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