projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'for-3.5-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj...
[linux-2.6-microblaze.git]
/
drivers
/
video
/
fbsysfs.c
diff --git
a/drivers/video/fbsysfs.c
b/drivers/video/fbsysfs.c
index
67afa9c
..
a55e366
100644
(file)
--- a/
drivers/video/fbsysfs.c
+++ b/
drivers/video/fbsysfs.c
@@
-80,6
+80,8
@@
EXPORT_SYMBOL(framebuffer_alloc);
*/
void framebuffer_release(struct fb_info *info)
{
+ if (!info)
+ return;
kfree(info->apertures);
kfree(info);
}