[ovs-git] [openvswitch/ovs] 391097: ofproto-dpif: Fix memory leak in disable_datapath_...

GitHub noreply at github.com
Mon Apr 24 16:47:25 UTC 2017


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

  Changed paths:
    M ofproto/ofproto-dpif.c

  Log Message:
  -----------
  ofproto-dpif: Fix memory leak in disable_datapath_clone()

In testcase "ofproto-dpif - clone action", valgrind reports a memory leak
with the following call stack.
    xrealloc (util.c:123)
    ds_reserve (dynamic-string.c:63)
    ds_put_format_valist (dynamic-string.c:161)
    ds_put_format (dynamic-string.c:142)
    disable_datapath_clone (ofproto-dpif.c:5206)
    process_command (unixctl.c:313)
    run_connection (unixctl.c:347)
    unixctl_server_run (unixctl.c:400)
    main (ovs-vswitchd.c:112)

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