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

2015-06-29 Thread Arnaldo Carvalho de Melo
Em Sat, Jun 27, 2015 at 11:08:52PM +0900, taeung escreveu: > In some cases some sessions aren't freed. > For example, a session is allocated and then > if an error occur, just a error value is returned > without freeing the session. So allocating and freeing > session have to be matched as a pair

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

2015-06-29 Thread Arnaldo Carvalho de Melo
Em Sat, Jun 27, 2015 at 11:08:52PM +0900, taeung escreveu: In some cases some sessions aren't freed. For example, a session is allocated and then if an error occur, just a error value is returned without freeing the session. So allocating and freeing session have to be matched as a pair even

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

2015-06-27 Thread taeung
In some cases some sessions aren't freed. For example, a session is allocated and then if an error occur, just a error value is 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 ---

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

2015-06-27 Thread taeung
In some cases some sessions aren't freed. For example, a session is allocated and then if an error occur, just a error value is 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