aboutsummaryrefslogtreecommitdiffhomepage
path: root/drivers
diff options
context:
space:
mode:
authorGravatar eyck <eyck@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-02-03 19:19:39 +0000
committerGravatar eyck <eyck@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-02-03 19:19:39 +0000
commita1039fb1cd26ec03494e75e66e638ad8e24c8508 (patch)
treec1594b2fa613d61f5c5aa411b25c11f21be3883b /drivers
parent094cd24bf4cb1e5c3073119d4ed958577797a567 (diff)
Attila Kinali fixing memleak introduced by me.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4521 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mga_vid.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/mga_vid.c b/drivers/mga_vid.c
index c6362ee1ab..8bc496a414 100644
--- a/drivers/mga_vid.c
+++ b/drivers/mga_vid.c
@@ -1541,6 +1541,8 @@ void cleanup_module(void)
if(mga_mmio_base)
iounmap(mga_mmio_base);
+ if(mga_param_buff)
+ kfree(mga_param_buff);
//FIXME turn off BES
printk(KERN_INFO "mga_vid: Cleaning up module\n");