aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorSachin Kamat <[email protected]>2012-09-24 08:35:03 +0200
committerMarek Szyprowski <[email protected]>2012-09-24 08:35:03 +0200
commitec10665cbf271fb1f60daeb194ad4f2cdcdc59d9 (patch)
tree2b90e82535dc38d2d2f2dbf383f15e3b59d17879 /tools/perf/util/trace-event-scripting.c
parent979570e02981d4a8fc20b3cc8fd651856c98ee9d (diff)
ARM: dma-mapping: Fix potential memory leak in atomic_pool_init()
When either of __alloc_from_contiguous or __alloc_remap_buffer fails to provide a valid pointer, allocated memory is freed up and an error is returned. 'pages' was however not freed before returning error. Cc: Arnd Bergmann <[email protected]> Cc: Marek Szyprowski <[email protected]> Signed-off-by: Sachin Kamat <[email protected]> Signed-off-by: Marek Szyprowski <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions