(I'm so sorry!) Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git

media: streamzap: Add missing rc_unregister_device()

If usb_submit_urb() fails during probe, then the error path is missing a call to rc_unregister_device(), which will leak various things like the input device. Fixes: 42844992664f ("media: rc: streamzap: Error handling in probe") Signed-off-by: Sean Young <sean@mess.org> Cc: stable@vger.kernel.org Reviewed-by: Hans Verkuil <hverkuil+cisco@kernel.org>


Author Sean Young Date Commit Parent cee9395a
+1
1 changed file
+1
1 changed file