From: Namhyung Kim Date: Tue, 12 Aug 2014 06:40:33 +0000 (+0900) Subject: perf script: Fix possible memory leaks X-Git-Tag: fixes-against-v3.18-rc2~100^2~29^2~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6cc870f09da4d50722bc1caa27cad51733ce36f6;p=pandora-kernel.git perf script: Fix possible memory leaks Some paths in perf script don't call perf_session__delete() after creating a new session. Signed-off-by: Namhyung Kim Acked-by: Jiri Olsa Cc: Adrian Hunter Cc: David Ahern Cc: Ingo Molnar Cc: Jiri Olsa Cc: Minchan Kim Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Zijlstra Link: http://lkml.kernel.org/r/1407825645-24586-2-git-send-email-namhyung@kernel.org [ Saved errno value before calling perror(), as pointed out by Adrian Hunter ] Signed-off-by: Arnaldo Carvalho de Melo --- Reading git-diff-tree failed