[ovs-git] [openvswitch/ovs] 7e160f: test-ovsdb: Fix memory leak reported by Valgrind.

GitHub noreply at github.com
Wed Jul 27 21:56:31 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 7e160f6623d91c09681f96a2873b0df71044fb73
      https://github.com/openvswitch/ovs/commit/7e160f6623d91c09681f96a2873b0df71044fb73
  Author: William Tu <u9012063 at gmail.com>
  Date:   2016-07-27 (Wed, 27 Jul 2016)

  Changed paths:
    M tests/test-ovsdb.c

  Log Message:
  -----------
  test-ovsdb: Fix memory leak reported by Valgrind.

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>
Signed-off-by: Ben Pfaff <blp at ovn.org>




More information about the git mailing list