-
Bjorn Helgaas authored
If sysfs_create_bin_file() fails, pci_create_attr() leaks the struct bin_attribute it allocated previously. Free the struct bin_attribute if pci_create_attr() fails. Signed-off-by:
Bjorn Helgaas <bhelgaas@google.com>
b562ec8f