mirror of https://github.com/torvalds/linux.git
When auxiliary_device_add() returns error and then calls
auxiliary_device_uninit(), callback function adev_release
calls kfree(madev). We shouldn't call kfree(madev) again
in the error handling path. Set 'madev' to NULL.
Fixes:
|
||
|---|---|---|
| .. | ||
| mana | ||
| Kconfig | ||
| Makefile | ||