Re: [dpdk-dev] [PATCH 2/2] sched: fix possible mem leak on initialize

2018-12-20 Thread Dumitrescu, Cristian
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Tonghao Zhang > Sent: Tuesday, December 11, 2018 2:54 AM > To: dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH 2/2] sched: fix possible mem leak on initialize > > ping > On Wed, Nov 28,

Re: [dpdk-dev] [PATCH 2/2] sched: fix possible mem leak on initialize

2018-12-10 Thread Tonghao Zhang
ping On Wed, Nov 28, 2018 at 9:56 PM Tonghao Zhang wrote: > > In some case, we may create sched port dynamically, > if err when creating so memory will leak. > > Signed-off-by: Tonghao Zhang > --- > lib/librte_sched/rte_sched.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/lib/librte_

[dpdk-dev] [PATCH 2/2] sched: fix possible mem leak on initialize

2018-11-28 Thread Tonghao Zhang
In some case, we may create sched port dynamically, if err when creating so memory will leak. Signed-off-by: Tonghao Zhang --- lib/librte_sched/rte_sched.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/librte_sched/rte_sched.c b/lib/librte_sched/rte_sched.c index 17de6e6..a3adcca 10064