Re: [PATCH] perf evsel: Fix memory leaks on evsel->counts

2013-01-29 Thread Arnaldo Carvalho de Melo
Em Thu, Jan 24, 2013 at 11:45:58PM -0300, Arnaldo Carvalho de Melo escreveu: > Em Fri, Jan 25, 2013 at 10:44:44AM +0900, Namhyung Kim escreveu: > > From: Namhyung Kim > > > > The ->counts field was never freed in the current code. Add > > perf_evsel__free_counts() function to free it properly. >

Re: [PATCH] perf evsel: Fix memory leaks on evsel->counts

2013-01-24 Thread Arnaldo Carvalho de Melo
Em Fri, Jan 25, 2013 at 10:44:44AM +0900, Namhyung Kim escreveu: > From: Namhyung Kim > > The ->counts field was never freed in the current code. Add > perf_evsel__free_counts() function to free it properly. I still haven't applied Stephane's patches, that his one depends on, will do it tomorro