diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-10-29 17:38:59 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-01-25 19:01:35 -0200 |
commit | 1808a698a87366f9d82945270355c2139df0a16d (patch) | |
tree | f9842853056a271fac66852a1127e930a25f114d /drivers/media/video/em28xx | |
parent | 882876bf9780fac570184b719a76140a1b1e4178 (diff) |
V4L/DVB (6475): Fix some troubles at list handling
- priv->count were wrong. Should be incremented since the first usage;
- forgot to use list_del() to remove the driver;
- Release memory if an error occurs during _attach
Thanks to Aidan Thornton <makosoft@googlemail.com> for pointing this.
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/em28xx')
0 files changed, 0 insertions, 0 deletions