]> git.hungrycats.org Git - linux/commitdiff
[PATCH] Fix incorrect kfree in radeonfb
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 13 Feb 2004 09:22:43 +0000 (01:22 -0800)
committerLinus Torvalds <torvalds@home.osdl.org>
Fri, 13 Feb 2004 09:22:43 +0000 (01:22 -0800)
I missed a kfree -> framebuffer_release() in the new radeonfb.

Thanks to Luca for noticing it.

drivers/video/aty/radeon_base.c

index 96a79866977a76eec31b7bc2c7852738956429e4..f1146393de463641da4b5b2c90da4aa67cbfcfa6 100644 (file)
@@ -2291,7 +2291,7 @@ static void __devexit radeonfb_pci_unregister (struct pci_dev *pdev)
 #ifdef CONFIG_FB_RADEON_I2C
        radeon_delete_i2c_busses(rinfo);
 #endif        
-        kfree (rinfo);
+        framebuffer_release(info);
 }