forked from enlightenment/efl
evas-wayland-egl: Free Outbuf if gl_generic_init fails
If we fail to init gl_generic then we should cleanup properly and free the recently created Outbuf. @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
faaaf55f7a
commit
db31d0ba97
|
@ -637,7 +637,7 @@ eng_setup(Evas *evas, void *info)
|
|||
&evgl_funcs,
|
||||
epd->output.w, epd->output.h))
|
||||
{
|
||||
/* TODO: free Outbuf */
|
||||
eng_window_free(ob);
|
||||
goto ob_err;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue