mirror of https://github.com/torvalds/linux.git
If mcb_device_register() returns error in chameleon_parse_gdd(), the refcount
of bus and device name are leaked. Fix this by calling put_device() to give up
the reference, so they can be released in mcb_release_dev() and kobject_cleanup().
Fixes:
|
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| mcb-core.c | ||
| mcb-internal.h | ||
| mcb-lpc.c | ||
| mcb-parse.c | ||
| mcb-pci.c | ||