OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
drivers/video/gbefb.c: eliminate memory leak
[android-x86/kernel.git]
/
drivers
/
video
/
gbefb.c
diff --git
a/drivers/video/gbefb.c
b/drivers/video/gbefb.c
index
ca3355e
..
933899d
100644
(file)
--- a/
drivers/video/gbefb.c
+++ b/
drivers/video/gbefb.c
@@
-1143,8
+1143,10
@@
static int __devinit gbefb_probe(struct platform_device *p_dev)
return -ENOMEM;
#ifndef MODULE
- if (fb_get_options("gbefb", &options))
- return -ENODEV;
+ if (fb_get_options("gbefb", &options)) {
+ ret = -ENODEV;
+ goto out_release_framebuffer;
+ }
gbefb_setup(options);
#endif