graphic_utils: do not allocate info in fb_open
info was errorneously allocated, but it really is a pointer to a fb_info
struct from the framebuffer. This fixes a memory leak.

Signed-off-by: Bastian Stender <bst@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 11f1728 commit 43f2decf5be47595036994672b2c9cc84fab86ee
@Bastian Stender Bastian Stender authored on 23 Feb 2017
Sascha Hauer committed on 24 Feb 2017
Showing 1 changed file
View
lib/gui/graphic_utils.c