summaryrefslogtreecommitdiff
path: root/drivers/video/fbdev/vesafb.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/fbdev/vesafb.c')
-rw-r--r--drivers/video/fbdev/vesafb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/fbdev/vesafb.c b/drivers/video/fbdev/vesafb.c
index f84f4db244bf..f1902056bd73 100644
--- a/drivers/video/fbdev/vesafb.c
+++ b/drivers/video/fbdev/vesafb.c
@@ -269,6 +269,7 @@ static int vesafb_probe(struct platform_device *dev)
/* ignore error return of fb_get_options */
fb_get_options("vesafb", &option);
vesafb_setup(option);
+ kfree(option);
if (si->orig_video_isVGA != VIDEO_TYPE_VLFB)
return -ENODEV;