From: Adrian Hunter Date: Wed, 16 Jul 2014 07:19:44 +0000 (+0300) Subject: perf machine: Fix leak of 'struct thread' on error path X-Git-Tag: omap-for-v3.17/fixes-against-rc2~178^2~5^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=418029b7324f8b90ac1dfbc8a44555d6905be761;p=pandora-kernel.git perf machine: Fix leak of 'struct thread' on error path __machine__findnew_thread() creates a 'struct thread' but does not free it on the error path. Fix it. Signed-off-by: Adrian Hunter Cc: David Ahern Cc: Frederic Weisbecker Cc: Jiri Olsa Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Zijlstra Cc: Stephane Eranian Link: http://lkml.kernel.org/r/1405495184-20441-3-git-send-email-adrian.hunter@intel.com Signed-off-by: Arnaldo Carvalho de Melo --- Reading git-diff-tree failed