diff options
-rw-r--r-- | drivers/mga_vid.c | 2 |
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"); |