Skip to contentSkip to conversation

Fix incorrect kfree in radeonfb

PATCH New Benjamin Herrenschmidt 1 participant 1 message Feb 14, 2004 Framebuffer layer

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix incorrect kfree in radeonfb

Hi !

I missed a kfree -> framebuffer_release() in the new radeonfb, here's the patch, please apply (and thanks to Luca for noticing it).

Ben.

===== drivers/video/aty/radeon_base.c 1.2 vs edited =====

drivers/video/aty/radeon_base.c +1 -1
@@ -2291,7 +2291,7 @@
 #ifdef CONFIG_FB_RADEON_I2C
 	radeon_delete_i2c_busses(rinfo);
 #endif        
-        kfree (rinfo);
+        framebuffer_release(info);
 }