Testcase 1311, 1312: Boolean-distinct queries on scalars, reports leak
below:
    xmalloc (util.c:112)
    do_query_distinct (test-ovsdb.c:1208)
    ovs_cmdl_run_command (command-line.c:121)
    main (test-ovsdb.c:72)

Signed-off-by: William Tu <u9012...@gmail.com>
---
 tests/test-ovsdb.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/test-ovsdb.c b/tests/test-ovsdb.c
index 15f41b0..1fbe378 100644
--- a/tests/test-ovsdb.c
+++ b/tests/test-ovsdb.c
@@ -1298,6 +1298,8 @@ do_query_distinct(struct ovs_cmdl_context *ctx)
 
     ovsdb_table_destroy(table); /* Also destroys 'ts'. */
 
+    free(rows);
+    free(classes);
     exit(exit_code);
 }
 
-- 
2.5.0

_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to