mirror of https://github.com/torvalds/linux.git
In allegro_probe(), the v4l2 device is not unregistered in the error
path, which results in a memory leak. Fix it by calling
v4l2_device_unregister() before returning error.
Fixes:
|
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| allegro-core.c | ||
| allegro-mail.c | ||
| allegro-mail.h | ||
| nal-h264.c | ||
| nal-h264.h | ||
| nal-hevc.c | ||
| nal-hevc.h | ||
| nal-rbsp.c | ||
| nal-rbsp.h | ||