diff options
| author | Catalin Marinas <[email protected]> | 2009-07-08 11:17:34 +0100 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2009-07-08 09:34:07 -0700 |
| commit | d5ce5b40bc66880d1732461d4b47d7fc3331ed30 (patch) | |
| tree | 981ce8897febe8c0691247a5312f14c381359853 /tools/perf/scripts/python | |
| parent | 5e75c5f5d723074b1ceefe916c3005888e431d12 (diff) | |
Free the memory allocated by memdup_user() in fs/sysfs/bin.c
Commit 1c8542c7bb replaced kmalloc() with memdup_user() in the write()
function but also dropped the kfree(temp). The memdup_user() function
allocates memory which is never freed.
Signed-off-by: Catalin Marinas <[email protected]>
Cc: Parag Warudkar <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions