Re: [PATCH 1/5] perf inject: Fill in the missing freeing a session after an error occur

2015-06-30 Thread Jiri Olsa
On Tue, Jun 30, 2015 at 05:15:20PM +0900, Taeung Song wrote: > When an error occur a error value is just returned > without freeing the session. So allocating and freeing > session have to be matched as a pair even if an error occur. > > Signed-off-by: Taeung Song Acked-by: Jiri Olsa thanks, j

[PATCH 1/5] perf inject: Fill in the missing freeing a session after an error occur

2015-06-30 Thread Taeung Song
When an error occur a error value is just returned without freeing the session. So allocating and freeing session have to be matched as a pair even if an error occur. Signed-off-by: Taeung Song --- tools/perf/builtin-inject.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --g