backlight: Fix tdo24m crash on kmalloc
[pandora-kernel.git] / drivers / video / stifb.c
index eabaad7..eec9dcb 100644 (file)
@@ -1380,7 +1380,7 @@ stifb_cleanup(void)
                                if (info->screen_base)
                                        iounmap(info->screen_base);
                        fb_dealloc_cmap(&info->cmap);
-                       kfree(info); 
+                       framebuffer_release(info);
                }
                sti->info = NULL;
        }