diff options
Diffstat (limited to 'linux/drivers/media/video/cx88')
-rw-r--r-- | linux/drivers/media/video/cx88/cx88-blackbird.c | 3 | ||||
-rw-r--r-- | linux/drivers/media/video/cx88/cx88-video.c | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/linux/drivers/media/video/cx88/cx88-blackbird.c b/linux/drivers/media/video/cx88/cx88-blackbird.c index a76e3a79b..ecc32b6fb 100644 --- a/linux/drivers/media/video/cx88/cx88-blackbird.c +++ b/linux/drivers/media/video/cx88/cx88-blackbird.c @@ -1,5 +1,5 @@ /* - * $Id: cx88-blackbird.c,v 1.20 2004/12/02 13:44:44 kraxel Exp $ + * $Id: cx88-blackbird.c,v 1.21 2004/12/02 14:23:54 kraxel Exp $ * * Support for a cx23416 mpeg encoder via cx2388x host port. * "blackbird" reference design. @@ -716,6 +716,7 @@ static int mpeg_release(struct inode *inode, struct file *file) if (fh->mpegq.reading) videobuf_read_stop(&fh->mpegq); + videobuf_mmap_free(&fh->mpegq); file->private_data = NULL; kfree(fh); return 0; diff --git a/linux/drivers/media/video/cx88/cx88-video.c b/linux/drivers/media/video/cx88/cx88-video.c index 24a575543..1671f8616 100644 --- a/linux/drivers/media/video/cx88/cx88-video.c +++ b/linux/drivers/media/video/cx88/cx88-video.c @@ -1,5 +1,5 @@ /* - * $Id: cx88-video.c,v 1.48 2004/11/30 17:00:13 kraxel Exp $ + * $Id: cx88-video.c,v 1.49 2004/12/02 14:23:54 kraxel Exp $ * * device driver for Conexant 2388x based TV cards * video4linux video interface @@ -1090,6 +1090,8 @@ static int video_release(struct inode *inode, struct file *file) res_free(dev,fh,RESOURCE_VBI); } + videobuf_mmap_free(&fh->vidq); + videobuf_mmap_free(&fh->vbiq); file->private_data = NULL; kfree(fh); return 0; |