> -----Original Message----- > From: Ilya Maximets [mailto:[email protected]] > Sent: Monday, January 22, 2018 4:24 PM > 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_get_custom_stats(). > Thanks Ilya,
I'll add this to DPDK_MERGE for master and DPDK_MERGE_2_9 branch for the 2.9 release. 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 ac2e38e..a37c8df > 100644 > --- a/lib/netdev-dpdk.c > +++ b/lib/netdev-dpdk.c > @@ -2359,6 +2359,8 @@ netdev_dpdk_get_custom_stats(const struct netdev > *netdev, > * reconfigured */ > netdev_dpdk_clear_xstats(dev); > } > + > + free(values); > } > > ovs_mutex_unlock(&dev->mutex); > -- > 2.7.4 _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
