diff options
author | Francesco Lavra <francescolavra@interfree.it> | 2009-12-31 12:47:11 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-02-26 19:10:34 +0100 |
commit | 19f48cb105b7fa18d0dcab435919a3a29b7a7c4c (patch) | |
tree | 0d46d2a4e9ae6a6568642f0d95cd46c05d1be56f /drivers/media/video/saa7164/saa7164-api.c | |
parent | V4L/DVB (13959): cx23885/cx23885-dvb.c: use %pM to show MAC address (diff) | |
download | linux-19f48cb105b7fa18d0dcab435919a3a29b7a7c4c.tar.xz linux-19f48cb105b7fa18d0dcab435919a3a29b7a7c4c.zip |
V4L/DVB (13961): em28xx-dvb: fix memleak in dvb_fini()
this patch fixes a memory leak which occurs when an em28xx card with DVB
extension is unplugged or its DVB extension driver is unloaded. In
dvb_fini(), dev->dvb must be freed before being set to NULL, as is done
in dvb_init() in case of error.
Note that this bug is also present in the latest stable kernel release.
Signed-off-by: Francesco Lavra <francescolavra@interfree.it>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/saa7164/saa7164-api.c')
0 files changed, 0 insertions, 0 deletions