discomfitor pushed a commit to branch enlightenment-0.20.

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

commit ec9776e5eb937746d7f9d53c3c36d13b6b9fd265
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Thu Mar 10 11:57:11 2016 -0500

    check returned pixmap size before attempting to create updates tiler
    
    CID 1349419
---
 src/bin/e_comp_object.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/bin/e_comp_object.c b/src/bin/e_comp_object.c
index 5a0f761..f0f4a44 100644
--- a/src/bin/e_comp_object.c
+++ b/src/bin/e_comp_object.c
@@ -304,6 +304,7 @@ _e_comp_object_updates_init(E_Comp_Object *cw)
    pw = cw->ec->client.w, ph = cw->ec->client.h;
    if ((!pw) || (!ph))
      e_pixmap_size_get(cw->ec->pixmap, &pw, &ph);
+   if ((!pw) || (!ph)) return;
    cw->updates = eina_tiler_new(pw, ph);
    if (cw->updates)
      eina_tiler_tile_size_set(cw->updates, 1, 1);

-- 


Reply via email to