diff options
| author | Alex Chiang <[email protected]> | 2008-12-02 01:17:21 +0000 |
|---|---|---|
| committer | Jesse Barnes <[email protected]> | 2008-12-09 22:36:03 +0000 |
| commit | 3b5dd45e947ecd21491e1658fba7bb4bc4a54995 (patch) | |
| tree | fc4180b27c193855a3324a11e29a5d0cd2aae405 /net/unix/af_unix.c | |
| parent | Merge master.kernel.org:/home/rmk/linux-2.6-arm (diff) | |
| download | kernel-3b5dd45e947ecd21491e1658fba7bb4bc4a54995.tar.gz kernel-3b5dd45e947ecd21491e1658fba7bb4bc4a54995.zip | |
PCI: stop leaking 'slot_name' in pci_create_slot
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: [email protected]
Signed-off-by: Alex Chiang <[email protected]>
Signed-off-by: Jesse Barnes <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
