From: Arnaldo Carvalho de Melo Date: Wed, 19 May 2010 02:04:28 +0000 (-0300) Subject: perf probe: Fix some error exit paths X-Git-Tag: v2.6.35-rc1~30^2~30 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b448c4b613542c16ad66042017946e68da4e422b;p=pandora-kernel.git perf probe: Fix some error exit paths That could leave filedescriptors open and leak memory. Also stop using xmalloc, use malloc and handle results just like other error cases in the same routine that used it. Cc: Frédéric Weisbecker Cc: Masami Hiramatsu Cc: Mike Galbraith Cc: Paul Mackerras Cc: Peter Zijlstra Cc: Tom Zanussi LKML-Reference: Signed-off-by: Arnaldo Carvalho de Melo --- Reading git-diff-tree failed