commit | 625ff1679456d8adb9af0c980394ea3954e727a8 | [log] [tgz] |
---|---|---|
author | Mauro Carvalho Chehab <mchehab@redhat.com> | Tue Nov 18 10:23:19 2008 -0300 |
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | Thu Nov 20 17:19:20 2008 -0200 |
tree | c1678e41cdd64ba37fc36d2c34bbd31565027f6b | |
parent | 99afb989b05b9fb1c7b3831ce4b7a000b214acdb [diff] |
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: Mauro Carvalho Chehab <mchehab@redhat.com>