Re: [PATCH 5/5] perf report: 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:24PM +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 5/5] perf report: 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-report.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --gi