changeset 4520:0dca90717403

Attila Kinali fixing memleak introduced by me.
author eyck
date Sun, 03 Feb 2002 19:19:39 +0000
parents c8bf6fd27d68
children 0737156ad1f0
files drivers/mga_vid.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/drivers/mga_vid.c	Sun Feb 03 19:17:22 2002 +0000
+++ b/drivers/mga_vid.c	Sun Feb 03 19:19:39 2002 +0000
@@ -1541,6 +1541,8 @@
 
 	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");