projects
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
s5pc110: fb: possible memory leak (un-free'd malloc)
[kernel/u-boot.git]
/
drivers
/
video
/
s5p-fb.c
diff --git
a/drivers/video/s5p-fb.c
b/drivers/video/s5p-fb.c
index
e418f5b
..
3e90e21
100644
(file)
--- a/
drivers/video/s5p-fb.c
+++ b/
drivers/video/s5p-fb.c
@@
-222,6
+222,7
@@
static void draw_samsung_logo(void* lcdbase)
printf("Image could be truncated"
" (increase CONFIG_SYS_VIDEO_LOGO_MAX_SIZE)!\n");
_draw_samsung_logo(lcdbase, x, y, width, height, (unsigned short *) dst);
+ free(dst);
}
static void lcd_panel_on(vidinfo_t *vid)