Revert "ecore-wayland: Calloc Can fail, so check that it works (or return if"

This reverts commit a49835a8d1.
This commit is contained in:
Chris Michael 2014-08-13 10:34:55 -04:00
parent b0fd93a564
commit 85aaa363ab
1 changed files with 1 additions and 1 deletions

View File

@ -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);