devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=85aaa363ab500cd5b7b9a064695fc4ccad279594

commit 85aaa363ab500cd5b7b9a064695fc4ccad279594
Author: Chris Michael <[email protected]>
Date:   Wed Aug 13 10:34:55 2014 -0400

    Revert "ecore-wayland: Calloc Can fail, so check that it works (or return 
if"
    
    This reverts commit a49835a8d165fa5844a902eec035c63036369632.
---
 src/lib/ecore_wayland/ecore_wl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/ecore_wayland/ecore_wl.c b/src/lib/ecore_wayland/ecore_wl.c
index ae0d337..10e4295 100644
--- a/src/lib/ecore_wayland/ecore_wl.c
+++ b/src/lib/ecore_wayland/ecore_wl.c
@@ -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);

-- 


Reply via email to