Testcase 1857: ovsdb-monitor.at:538 monitor-cond-change reports the
following definitely memory leak:
ovsdb_schema_create (ovsdb.c:34)
ovsdb_schema_from_json (ovsdb.c:196)
fetch_schema (ovsdb-client.c:385)
do_monitor_cond (ovsdb-client.c:1112)
Signed-of-by: William Tu <[email protected]>
---
ovsdb/ovsdb-client.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/ovsdb/ovsdb-client.c b/ovsdb/ovsdb-client.c
index 7dcc07c..1f83f3b 100644
--- a/ovsdb/ovsdb-client.c
+++ b/ovsdb/ovsdb-client.c
@@ -1120,6 +1120,7 @@ do_monitor_cond(struct jsonrpc *rpc, const char *database,
NULL, &cnd));
ovsdb_condition_destroy(&cnd);
do_monitor__(rpc, database, OVSDB_MONITOR_V2, --argc, ++argv, condition);
+ ovsdb_schema_destroy(schema);
}
struct dump_table_aux {
--
2.5.0
_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev