[PATCH 5.10 658/783] PCI/sysfs: Fix double free in error path