derekf pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=6ba85cf864f19b083f652c7c7222d2c93b3b034e

commit 6ba85cf864f19b083f652c7c7222d2c93b3b034e
Author: Derek Foreman <der...@osg.samsung.com>
Date:   Tue Nov 29 11:13:21 2016 -0600

    Check for deleted client in e_pixmap_image_is_argb
    
    Fixes a crash when closing Qt applications.
---
 src/bin/e_pixmap.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/bin/e_pixmap.c b/src/bin/e_pixmap.c
index 3f166d7..593f2b9 100644
--- a/src/bin/e_pixmap.c
+++ b/src/bin/e_pixmap.c
@@ -896,6 +896,7 @@ e_pixmap_image_is_argb(const E_Pixmap *cp)
 #endif
       case E_PIXMAP_TYPE_WL:
 #ifdef HAVE_WAYLAND
+        if (e_object_is_del(E_OBJECT(cp->client))) return EINA_FALSE;
         if (cp->usable)
           return cp->image_argb;
         if (((E_Comp_Wl_Client_Data*)cp->client->comp_data)->cursor)

-- 


Reply via email to