summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2010-06-30 13:25:46 +0400
committerMatthew Garrett <mjg@redhat.com>2010-08-03 17:48:53 +0400
commit32ab72e7ca7aed399b81a3ffec26d7353bd33581 (patch)
tree4501e686520ee8fc710d1151b29aad68669d5342 /tools/perf/scripts/python/check-perf-trace.py
parentd53bf0f32410c8c738935aa3d9740d66d39ba967 (diff)
downloadlinux-32ab72e7ca7aed399b81a3ffec26d7353bd33581.tar.xz
dell-wmi: fix a memory leak
If dell_new_hk_type is true, dell_legacy_wmi_keymap will point to a memory allocated in setup_new_hk_map(). In this case, the memory is not freed in current implementation. This patch fixes the leak by kfree(dell_wmi_keymap) if dell_new_hk_type is true. Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Matthew Garrett <mjg@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions