Summary:
this patch modify a logic to return after,
failing to call eore_evas_buffer_allocfunc_new function.
Reviewers: Hermet, bu5hm4n, cedric, devilhorns
Reviewed By: devilhorns
Subscribers: #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D7918
Change-Id: I7a7d294b7fc023de052d03dcd7bc3ccf2e917c8a
ecore_evas_buffer_allocfunc_new(w, h, _ecore_evas_buffer_pix_alloc,
_ecore_evas_buffer_pix_free, NULL);
- if (!ee) ecore_event_evas_shutdown();
+ if (!ee)
+ {
+ ecore_event_evas_shutdown();
+ return NULL;
+ }
ecore_evas_done(ee, EINA_TRUE);