> -----Original Message----- > From: Ilya Maximets [mailto:[email protected]] > Sent: Tuesday, January 23, 2018 7:51 AM > To: [email protected] > Cc: Heetae Ahn <[email protected]>; Ben Pfaff <[email protected]>; > Stokes, Ian <[email protected]>; Ilya Maximets > <[email protected]>; Weglicki, MichalX <[email protected]> > Subject: [PATCH] netdev-dpdk: Fix memory leak in > netdev_dpdk_configure_xstats(). >
Thanks Ilya, applied to DPDK_MERGE and DPDK_MERGE_2_9. Regards Ian > CC: Michal Weglicki <[email protected]> > Fixes: 971f4b394c6e ("netdev: Custom statistics.") > Signed-off-by: Ilya Maximets <[email protected]> > --- > lib/netdev-dpdk.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/lib/netdev-dpdk.c b/lib/netdev-dpdk.c index a37c8df..bdce304 > 100644 > --- a/lib/netdev-dpdk.c > +++ b/lib/netdev-dpdk.c > @@ -1274,6 +1274,8 @@ netdev_dpdk_configure_xstats(struct netdev_dpdk > *dev) > VLOG_WARN("Can't get XSTATS IDs for port: %"PRIu8, > dev->port_id); > } > + > + free(rte_xstats); > } > } > } else { > -- > 2.7.4 _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
