[ovs-git] [openvswitch/ovs] 514926: ovs-router: fix memory leak reported by valgrind.

GitHub noreply at github.com
Wed Feb 8 23:25:03 UTC 2017


  Branch: refs/heads/branch-2.7
  Home:   https://github.com/openvswitch/ovs
  Commit: 51492619b4777e7461d6b37f95dfe614b2786cf3
      https://github.com/openvswitch/ovs/commit/51492619b4777e7461d6b37f95dfe614b2786cf3
  Author: William Tu <u9012063 at gmail.com>
  Date:   2017-02-08 (Wed, 08 Feb 2017)

  Changed paths:
    M lib/ovs-router.c

  Log Message:
  -----------
  ovs-router: fix memory leak reported by valgrind.

Valgrind testcase 772: appctl - route/lookup6 reports the
following definitely lost:
  xmalloc (util.c:112)
  miniflow_alloc (flow.c:2500)
  minimatch_init (match.c:1387)
  rt_entry_delete (ovs-router.c:274)
  ovs_router_del (ovs-router.c:384)
  process_command (unixctl.c:313)

Signed-off-by: William Tu <u9012063 at gmail.com>
Signed-off-by: Andy Zhou <azhou at ovn.org>


  Commit: 87758bd102e7770bc1dc92ba6c1c5c44f5e86fbe
      https://github.com/openvswitch/ovs/commit/87758bd102e7770bc1dc92ba6c1c5c44f5e86fbe
  Author: William Tu <u9012063 at gmail.com>
  Date:   2017-02-08 (Wed, 08 Feb 2017)

  Changed paths:
    M utilities/ovs-ofctl.c

  Log Message:
  -----------
  ovs-ofctl: fix memory leak reported by valgrind.

Testcase 1057 ofproto-dpif - fragment handling - upcall reports
the following leak:
  xrealloc (util.c:123)
  vconn_dump_flows (vconn.c:1030)
  read_flows_from_switch (ovs-ofctl.c:3360)
  ofctl_replace_flows (ovs-ofctl.c:3433)
  ovs_cmdl_run_command__ (command-line.c:115)

Signed-off-by: William Tu <u9012063 at gmail.com>
Signed-off-by: Andy Zhou <azhou at ovn.org>


Compare: https://github.com/openvswitch/ovs/compare/ce6e53358d7a...87758bd102e7


More information about the git mailing list