aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/scripting-engines/trace-event-perl.c
diff options
context:
space:
mode:
authorAxel Lin <[email protected]>2010-11-08 05:35:10 +0000
committerPaul Mundt <[email protected]>2010-11-08 06:08:42 +0000
commit899be96db75451ba98cb217109ef4cf2ee6de927 (patch)
treeb84ded26b414c160a6a430f55b38f4cc9c28dfa7 /tools/perf/util/scripting-engines/trace-event-perl.c
parentipw2x00: remove the right /proc/net entry (diff)
downloadkernel-899be96db75451ba98cb217109ef4cf2ee6de927.tar.gz
kernel-899be96db75451ba98cb217109ef4cf2ee6de927.zip
rtc: rtc-sh - fix a memory leak
request_mem_region() will call kzalloc to allocate memory for struct resource. release_resource() unregisters the resource but does not free the allocated memory, thus use release_mem_region() instead to fix the memory leak. Signed-off-by: Axel Lin <[email protected]> Signed-off-by: Paul Mundt <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions