The memory leak was triggered each time on calling netflow_unref with containing netflow_flows.
Signed-off-by: Yunjian Wang <[email protected]> --- ofproto/netflow.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ofproto/netflow.c b/ofproto/netflow.c index 55f7814..6bcbfe5 100644 --- a/ofproto/netflow.c +++ b/ofproto/netflow.c @@ -413,6 +413,7 @@ netflow_unref(struct netflow *nf) atomic_count_dec(&netflow_count); collectors_destroy(nf->collectors); ofpbuf_uninit(&nf->packet); + hmap_destroy(&nf->flows); free(nf); } } -- 1.8.3.1 _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
