[PATCH IDLESTAT V2] clear few memory leaks

2014-10-09 Thread Sanjay Singh Rawat
Signed-off-by: Sanjay Singh Rawat --- idlestat.c | 5 + 1 file changed, 5 insertions(+) diff --git a/idlestat.c b/idlestat.c index ab561c1..1266215 100644 --- a/idlestat.c +++ b/idlestat.c @@ -460,9 +460,14 @@ static void release_cstate_info(struct cpuidle_cstates *cstates, int nrcpus)

Re: [PATCH IDLESTAT] clear few memory leaks

2014-10-09 Thread Sanjay Singh Rawat
On Wednesday 08 October 2014 08:44 AM, Tuukka Tikkanen wrote: Hi, On Wed, Sep 17, 2014 at 1:20 PM, Sanjay Singh Rawat wrote: Signed-off-by: Sanjay Singh Rawat --- below are the leaks which this patch clears 72 bytes in 3 blocks are definitely lost in loss record 2 of 9 at 0x4C2ABBD: malloc