From: Arnaldo Carvalho de Melo Date: Mon, 24 Sep 2012 14:16:40 +0000 (-0300) Subject: perf timechart: Use zalloc and fix a couple leaks X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~97^2~3^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e0dcd6fb2564c20e53ee8b7d2884a7e375fe9e75;p=pandora-kernel.git perf timechart: Use zalloc and fix a couple leaks Use zalloc for the malloc+memset open coded sequence. Fix leak on the #ifdef'ed C state handling and when detecting invalid data in p_state_change(). Cc: Arjan van de Ven Cc: David Ahern Cc: Frederic Weisbecker Cc: Jiri Olsa Cc: Mike Galbraith Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Zijlstra Cc: Stephane Eranian Link: http://lkml.kernel.org/n/tip-v9x3q9rv4caxtox7wtjpchq5@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo --- Reading git-diff-tree failed