diff options
author | Michael Hunold <devnull@localhost> | 2003-05-05 11:22:40 +0000 |
---|---|---|
committer | Michael Hunold <devnull@localhost> | 2003-05-05 11:22:40 +0000 |
commit | 62e5a2a64c25bc9638387ce09388c59fc4f366b1 (patch) | |
tree | e36cadcd648e3c94c1e25c2838a85ebfc190928d /linux/drivers/media/common/saa7146_fops.c | |
parent | 5001db6d58da3b3804ddb18b209d2351a7465915 (diff) | |
download | mediapointer-dvb-s2-62e5a2a64c25bc9638387ce09388c59fc4f366b1.tar.gz mediapointer-dvb-s2-62e5a2a64c25bc9638387ce09388c59fc4f366b1.tar.bz2 |
Release clipping memory when device is closed.
TODO: use scatter/gather DMA for clipping informations, too.
Diffstat (limited to 'linux/drivers/media/common/saa7146_fops.c')
-rw-r--r-- | linux/drivers/media/common/saa7146_fops.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/linux/drivers/media/common/saa7146_fops.c b/linux/drivers/media/common/saa7146_fops.c index 1bda284e4..0284b1327 100644 --- a/linux/drivers/media/common/saa7146_fops.c +++ b/linux/drivers/media/common/saa7146_fops.c @@ -412,6 +412,7 @@ int saa7146_vv_release(struct saa7146_dev* dev) DEB_EE(("dev:%p\n",dev)); + kfree(vv->clipping); kfree(vv); dev->vv_data = NULL; dev->vv_callback = NULL; |