[ovs-dev] [PATCH] ovsdb: Fix memory leak reported by Valgrind.

Ben Pfaff blp at ovn.org
Wed Jul 27 21:56:53 UTC 2016


On Tue, Jul 26, 2016 at 08:12:36PM -0700, William Tu wrote:
> Valgrind testcase 1967: simple idl, conditional, modify as delete due
> to condition - C reports the following leak:
>     json_array_create_empty (json.c:185)
>     json_parser_push_array (json.c:1234)
>     json_parser_input (json.c:1328)
>     json_lex_input (json.c:945)
>     json_parser_feed (json.c:1103)
>     json_from_string (json.c:1025)
>     parse_json (test-ovsdb.c:227)
>     update_conditions (test-ovsdb.c:2324)
>     do_idl (test-ovsdb.c:2389)
>     ovs_cmdl_run_command (command-line.c:121)
>     main (test-ovsdb.c:73)
> 
> Signed-off-by: William Tu <u9012063 at gmail.com>

Thanks, applied.

I changed "ovsdb:" to "test-ovsdb:" in the title to emphasize that this
is just a leak in a test case.



More information about the dev mailing list