mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-09 18:15:49 +00:00
Free the sw structure only after we are done using it.
This patch just moves the put_device() down a bit to avoid the
use after free.
Fixes:
|
History
|
|
|---|---|---|
| .. | ||
| class.c | ||
| intel-xhci-usb-role-switch.c | ||
| Kconfig | ||
| Makefile | ||