mirror of https://github.com/torvalds/linux.git
In hfcsusb_probe(), the memory allocated for ctrl_urb gets leaked when
setup_instance() fails with an error code. Fix that by freeing the urb
before freeing the hw structure. Also change the error paths to use the
goto ladder style.
Compile tested only. Issue found using a prototype static analysis tool.
Fixes:
|
||
|---|---|---|
| .. | ||
| capi | ||
| hardware | ||
| mISDN | ||
| Kconfig | ||
| Makefile | ||