android_kernel_xiaomi_sm8350/drivers/base
Jesper Juhl 952ab431cd 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>
2006-10-18 12:49:55 -07:00
..
power
attribute_container.c
base.h
bus.c driver core fixes: bus_add_device() cleanup on error 2006-10-18 12:49:55 -07:00
class.c driver core fixes: sysfs_create_link() retval check in class.c 2006-10-18 12:49:54 -07:00
core.c Driver core: Don't leak 'old_class_name' in drivers/base/core.c::device_rename() 2006-10-18 12:49:55 -07:00
cpu.c
dd.c Driver core: plug device probe memory leak 2006-10-18 12:49:54 -07:00
dmapool.c driver core fixes: device_create_file() retval check in dmapool.c 2006-10-18 12:49:55 -07:00
driver.c
firmware_class.c
firmware.c
hypervisor.c
init.c
isa.c
Kconfig
Makefile
map.c
memory.c
node.c
platform.c
sys.c
topology.c driver core fixes: sysfs_create_group() retval in topology.c 2006-10-18 12:49:55 -07:00
transport_class.c