summaryrefslogtreecommitdiffstats
path: root/drivers/base/memory.c
diff options
context:
space:
mode:
authorJesper Juhl <jesper.juhl@gmail.com>2006-09-28 23:56:01 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2006-10-18 12:49:55 -0700
commit952ab431cd36c7ab573f685af8679c3677cbdc29 (patch)
tree91a7ca161516c4ceb6e0500a505bf94600d7db60 /drivers/base/memory.c
parent221c324a336770a911b16bda02b9f4adad506a35 (diff)
downloadop-kernel-dev-952ab431cd36c7ab573f685af8679c3677cbdc29.zip
op-kernel-dev-952ab431cd36c7ab573f685af8679c3677cbdc29.tar.gz
Driver core: Don't leak 'old_class_name' in drivers/base/core.c::device_rename()
If kmalloc() fails to allocate space for 'old_symlink_name' in drivers/base/core.c::device_rename(), then we'll leak 'old_class_name'. Spotted by the Coverity checker. Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/base/memory.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud