[PATCH] Fix incorrect kfree in radeonfb

From: Benjamin Herrenschmidt
Date: Fri Feb 13 2004 - 20:06:34 EST


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 =====
--- 1.2/drivers/video/aty/radeon_base.c Fri Feb 13 03:10:47 2004
+++ edited/drivers/video/aty/radeon_base.c Sat Feb 14 12:00:22 2004
@@ -2291,7 +2291,7 @@
#ifdef CONFIG_FB_RADEON_I2C
radeon_delete_i2c_busses(rinfo);
#endif
- kfree (rinfo);
+ framebuffer_release(info);
}




-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/