discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=022dda2f68fd0990023cdedf2b609ff73cd06263

commit 022dda2f68fd0990023cdedf2b609ff73cd06263
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Fri Dec 4 18:59:49 2015 -0500

    ecore-wl2: handle null global has in ecore_wl2_display_globals_get()
---
 src/lib/ecore_wl2/ecore_wl2_display.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/ecore_wl2/ecore_wl2_display.c 
b/src/lib/ecore_wl2/ecore_wl2_display.c
index b0c387f..1839341 100644
--- a/src/lib/ecore_wl2/ecore_wl2_display.c
+++ b/src/lib/ecore_wl2/ecore_wl2_display.c
@@ -687,7 +687,7 @@ EAPI Eina_Iterator *
 ecore_wl2_display_globals_get(Ecore_Wl2_Display *display)
 {
    EINA_SAFETY_ON_NULL_RETURN_VAL(display, NULL);
-   return eina_hash_iterator_data_new(display->globals);
+   return display->globals ? eina_hash_iterator_data_new(display->globals) : 
NULL;
 }
 
 EAPI void

-- 


Reply via email to