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: stable@kernel.org
Signed-off-by: Alex Chiang <achiang@hp.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>

authored by Alex Chiang and committed by Jesse Barnes 3b5dd45e 437f2f91

+1
+1
drivers/pci/slot.c
··· 253 253 __func__, pci_domain_nr(parent), parent->number, slot_nr); 254 254 255 255 out: 256 + kfree(slot_name); 256 257 up_write(&pci_bus_sem); 257 258 return slot; 258 259 err: