From: David Ahern Date: Tue, 2 Jul 2013 19:27:23 +0000 (-0600) Subject: perf tools: Don't free list head in parse_events__free_terms X-Git-Tag: v3.12-rc1~168^3~40^2~61 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0142dab01cd690f6e376f1fb4d4462beb054dfaf;p=pandora-kernel.git perf tools: Don't free list head in parse_events__free_terms Function should only be freeing the entries in the list in case of failure, as those were allocated there, not the list_head itself. Signed-off-by: David Ahern Cc: Adrian Hunter Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Jiri Olsa Cc: Namhyung Kim Cc: Peter Zijlstra Link: http://lkml.kernel.org/r/1372793245-4136-5-git-send-email-dsahern@gmail.com Signed-off-by: Arnaldo Carvalho de Melo --- Reading git-diff-tree failed