Re: [ovs-dev] [PATCH 3/4] ovsdb-client: fix memory leak reported by valgrind

2016-01-11 Thread Ben Pfaff
On Wed, Jan 06, 2016 at 10:49:37AM -0800, William Tu wrote: > Test case 1508-1514: OVSDB -- ovsdb-server monitors, call stacks: > ovsdb_schema_create (ovsdb.c:34) > ovsdb_schema_from_json (ovsdb.c:196) > fetch_schema (ovsdb-client.c:375) > do_monitor__ (ovsdb-client.c:920) > mai

[ovs-dev] [PATCH 3/4] ovsdb-client: fix memory leak reported by valgrind

2016-01-06 Thread William Tu
Test case 1508-1514: OVSDB -- ovsdb-server monitors, call stacks: ovsdb_schema_create (ovsdb.c:34) ovsdb_schema_from_json (ovsdb.c:196) fetch_schema (ovsdb-client.c:375) do_monitor__ (ovsdb-client.c:920) main (ovsdb-client.c:152) Fix by adding ovsdb_schema_destroy() Signed-off-