wayland_egl: return immediately in eng_window_free() when null is passed
authorMike Blumenkrantz <zmike@osg.samsung.com>
Thu, 5 May 2016 14:42:26 +0000 (10:42 -0400)
committerMike Blumenkrantz <zmike@osg.samsung.com>
Thu, 5 May 2016 14:49:31 +0000 (10:49 -0400)
src/modules/evas/engines/wayland_egl/evas_wl_main.c

index 509e8ae..489a475 100644 (file)
@@ -192,6 +192,7 @@ eng_window_free(Outbuf *gw)
 {
    int ref = 0;
 
+   if (!gw) return;
    win_count--;
    eng_window_use(gw);