diff options
author | Catalin Marinas <catalin.marinas@arm.com> | 2009-07-08 12:17:34 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-07-08 18:34:07 +0200 |
commit | d5ce5b40bc66880d1732461d4b47d7fc3331ed30 (patch) | |
tree | 981ce8897febe8c0691247a5312f14c381359853 /drivers/base/firmware_class.c | |
parent | Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dto... (diff) | |
download | linux-d5ce5b40bc66880d1732461d4b47d7fc3331ed30.tar.xz linux-d5ce5b40bc66880d1732461d4b47d7fc3331ed30.zip |
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 <catalin.marinas@arm.com>
Cc: Parag Warudkar <parag.warudkar@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/base/firmware_class.c')
0 files changed, 0 insertions, 0 deletions