The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCH] Fix incorrect kfree in radeonfb
@ 2004-02-14  1:02 Benjamin Herrenschmidt
  0 siblings, 0 replies; only message in thread
From: Benjamin Herrenschmidt @ 2004-02-14  1:02 UTC (permalink / raw)
  To: Andrew Morton, Linus Torvalds; +Cc: Linux Kernel list, James Simmons

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);
 }
 
 



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-02-14  1:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-14  1:02 [PATCH] Fix incorrect kfree in radeonfb Benjamin Herrenschmidt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox