aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/omapdrm/omap_fbdev.c
diff options
context:
space:
mode:
authorMasami Hiramatsu <[email protected]>2015-11-13 12:29:10 +0000
committerArnaldo Carvalho de Melo <[email protected]>2015-11-13 15:24:32 +0000
commit0196e787ceb58cdfea822482ec70019bc16cbd51 (patch)
tree7da102222263c83f0522e71bc7ac2cad7d12aa49 /drivers/gpu/drm/omapdrm/omap_fbdev.c
parentperf inject: Also re-pipe lost_samples event (diff)
downloadkernel-0196e787ceb58cdfea822482ec70019bc16cbd51.tar.gz
kernel-0196e787ceb58cdfea822482ec70019bc16cbd51.zip
perf probe: Fix memory leaking on failure by clearing all probe_trace_events
Fix memory leaking on the debuginfo__find_trace_events() failure path which frees an array of probe_trace_events but doesn't clears all the allocated sub-structures and strings. So, before doing zfree(tevs), clear all the array elements which may have allocated resources. Reported-by: Wang Nan <[email protected]> Signed-off-by: Masami Hiramatsu <[email protected]> Cc: Alexei Starovoitov <[email protected]> Cc: Zefan Li <[email protected]> Cc: [email protected] Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_fbdev.c')
0 files changed, 0 insertions, 0 deletions