From: Tom Zanussi Date: Wed, 10 Nov 2010 13:52:32 +0000 (-0600) Subject: perf trace scripting: fix some small memory leaks and missing error checks X-Git-Tag: v2.6.37-rc2~32^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e8719adf30c136319a77824d032b3a185148f8f9;p=pandora-kernel.git perf trace scripting: fix some small memory leaks and missing error checks Free the other two fields of script_desc which somehow got overlooked, free malloc'ed args in case exec fails, and add missing checks for failed mallocs. Signed-off-by: Tom Zanussi Acked-by: Arnaldo Carvalho de Melo --- Reading git-diff-tree failed