From: Namhyung Kim Date: Fri, 25 Jan 2013 01:44:44 +0000 (+0900) Subject: perf evsel: Fix memory leaks on evsel->counts X-Git-Tag: v3.9-rc1~173^2~12^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=43f8e76e6b96eb1327cff62ac1cc733a51f31068;p=pandora-kernel.git perf evsel: Fix memory leaks on evsel->counts The ->counts field was never freed in the current code. Add perf_evsel__free_counts() function to free it properly. Signed-off-by: Namhyung Kim Cc: Ingo Molnar Cc: Paul Mackerras Cc: Peter Zijlstra Cc: Stephane Eranian Link: http://lkml.kernel.org/r/1359078284-32080-1-git-send-email-namhyung@kernel.org Signed-off-by: Arnaldo Carvalho de Melo --- Reading git-diff-tree failed