https://github.com/torvalds/linux
Revision 3b5dd45e947ecd21491e1658fba7bb4bc4a54995 authored by Alex Chiang on 02 December 2008, 01:17:21 UTC, committed by Jesse Barnes on 09 December 2008, 22:36:03 UTC
In pci_create_slot(), the local variable 'slot_name' is allocated by
make_slot_name(), but never freed. We never use it after passing it to
the kobject core, so we should free it upon function exit.

Cc: stable@kernel.org
Signed-off-by: Alex Chiang <achiang@hp.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
1 parent 437f2f9
History
Tip revision: 3b5dd45e947ecd21491e1658fba7bb4bc4a54995 authored by Alex Chiang on 02 December 2008, 01:17:21 UTC
PCI: stop leaking 'slot_name' in pci_create_slot
Tip revision: 3b5dd45
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
usr
virt
.gitignore -rw-r--r-- 867 bytes
.mailmap -rw-r--r-- 3.8 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 91.0 KB
Kbuild -rw-r--r-- 2.4 KB
MAINTAINERS -rw-r--r-- 103.5 KB
Makefile -rw-r--r-- 55.9 KB
README -rw-r--r-- 16.5 KB
REPORTING-BUGS -rw-r--r-- 3.1 KB

README

back to top