[ovs-git] [openvswitch/ovs] ce9350: netflow: Fix memory leak in netflow_unref.

GitHub noreply at github.com
Wed May 31 19:00:16 UTC 2017


  Branch: refs/heads/branch-2.6
  Home:   https://github.com/openvswitch/ovs
  Commit: ce9350815161c0f90fd0768915bf99fe2b653192
      https://github.com/openvswitch/ovs/commit/ce9350815161c0f90fd0768915bf99fe2b653192
  Author: Yunjian Wang <wangyunjian at huawei.com>
  Date:   2017-05-31 (Wed, 31 May 2017)

  Changed paths:
    M ofproto/netflow.c

  Log Message:
  -----------
  netflow: Fix memory leak in netflow_unref.

The memory leak was triggered each time on calling netflow_unref() with
containing netflow_flows. And flows need to be removed and destroyed.

Signed-off-by: Yunjian Wang <wangyunjian at huawei.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>




More information about the git mailing list