Skip to content
Commit 625ff167 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab
Browse files

V4L/DVB (9645): em28xx: Avoid memory leaks if registration fails



em28xx_init_dev() has some error conditions that are not properly
de-allocating dev var, nor freeing the device number for a future usage.

Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 99afb989
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment