summaryrefslogtreecommitdiffstats
path: root/net/8021q
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo2010-05-19 04:04:28 +0200
committerArnaldo Carvalho de Melo2010-05-19 04:04:28 +0200
commitb448c4b613542c16ad66042017946e68da4e422b (patch)
tree31f351ef2875a2ae749a6ae765b1f66820716b96 /net/8021q
parentperf tools: Remove some unused functions (diff)
downloadkernel-qcow2-linux-b448c4b613542c16ad66042017946e68da4e422b.tar.gz
kernel-qcow2-linux-b448c4b613542c16ad66042017946e68da4e422b.tar.xz
kernel-qcow2-linux-b448c4b613542c16ad66042017946e68da4e422b.zip
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 <fweisbec@gmail.com> Cc: Masami Hiramatsu <mhiramat@redhat.com> Cc: Mike Galbraith <efault@gmx.de> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Tom Zanussi <tzanussi@gmail.com> LKML-Reference: <new-submission> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'net/8021q')
0 files changed, 0 insertions, 0 deletions