diff options
| author | Axel Lin <[email protected]> | 2010-06-28 01:10:01 -0700 |
|---|---|---|
| committer | Dmitry Torokhov <[email protected]> | 2010-06-28 01:12:22 -0700 |
| commit | 1fcb8bb631831c9018a1f7f77b93f9f02e122fc5 (patch) | |
| tree | 2512a9600b0bffc8477476e125baceff1643625e /tools/perf/scripts/python/sctop.py | |
| parent | 671386bb23c57e5448f386a41101ed65ad1d488c (diff) | |
Input: wistron_btns - fix a memory leak in wb_module_init error path
select_keymap() calls copy_keymap() to allocate a memory for keymap.
This patch adds a missing kfree(keymap) in wb_module_init error path.
Signed-off-by: Axel Lin <[email protected]>
Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions