]> Pileus Git - ~andy/linux/blobdiff - drivers/video/stifb.c
Merge branch 'perfcounters-fixes-for-linus' of git://git.kernel.org/pub/scm/linux...
[~andy/linux] / drivers / video / stifb.c
index eabaad765aebcdf1e975c8d68108e098a330175d..eec9dcb7f59976f2a9fe337322fb82724a4ed5fe 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;
        }