summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/cx88/cx88-blackbird.c
diff options
context:
space:
mode:
authorGerd Knorr <devnull@localhost>2004-12-02 14:23:54 +0000
committerGerd Knorr <devnull@localhost>2004-12-02 14:23:54 +0000
commite1cbf7915c2b64872018b2407f4d1887b93065e2 (patch)
treeb78a22d84b3b8d48ccfb7c751a96ff4f4c6816e2 /linux/drivers/media/video/cx88/cx88-blackbird.c
parentd390d2b04ddcd1d70bf5ae89e677ad03bd680e90 (diff)
downloadmediapointer-dvb-s2-e1cbf7915c2b64872018b2407f4d1887b93065e2.tar.gz
mediapointer-dvb-s2-e1cbf7915c2b64872018b2407f4d1887b93065e2.tar.bz2
- fix memory leak in drivers.
Diffstat (limited to 'linux/drivers/media/video/cx88/cx88-blackbird.c')
-rw-r--r--linux/drivers/media/video/cx88/cx88-blackbird.c3
1 files changed, 2 insertions, 1 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;