[ovs-git] [openvswitch/ovs] 0e0daa: ovsdb-idl: Fix memory leak

GitHub noreply at github.com
Mon Apr 24 16:30:02 UTC 2017


  Branch: refs/heads/branch-2.6
  Home:   https://github.com/openvswitch/ovs
  Commit: 0e0daa918000db582e721aa1af668376da27af5c
      https://github.com/openvswitch/ovs/commit/0e0daa918000db582e721aa1af668376da27af5c
  Author: Yi-Hung Wei <yihung.wei at gmail.com>
  Date:   2017-04-24 (Mon, 24 Apr 2017)

  Changed paths:
    M lib/ovsdb-idl.c

  Log Message:
  -----------
  ovsdb-idl: Fix memory leak

In testcase "simple idl, conditional, multiple clauses in condition - C",
valgrind reports a memory leak with the following call stack.
    xmalloc (util.c:112)
    resize (hmap.c:100)
    ovsdb_idl_condition_clone (ovsdb-idl.c:1075)
    ovsdb_idl_set_condition (ovsdb-idl.c:1095)
    update_conditions (test-ovsdb.c:2299)
    do_idl (test-ovsdb.c:2388)
    ovs_cmdl_run_command__ (command-line.c:115)
    main (test-ovsdb.c:73)

Signed-off-by: Yi-Hung Wei <yihung.wei at gmail.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>




More information about the git mailing list