forked from enlightenment/efl
Revert "ecore-wayland: Calloc Can fail, so check that it works (or return if"
This reverts commit a49835a8d1
.
This commit is contained in:
parent
b0fd93a564
commit
85aaa363ab
|
@ -595,7 +595,7 @@ _ecore_wl_cb_handle_global(void *data, struct wl_registry *registry, unsigned in
|
|||
|
||||
ewd = data;
|
||||
|
||||
if (!(global = calloc(1, sizeof(Ecore_Wl_Global)))) return;
|
||||
global = calloc(1, sizeof(Ecore_Wl_Global));
|
||||
|
||||
global->id = id;
|
||||
global->interface = strdup(interface);
|
||||
|
|
Loading…
Reference in New Issue