discomfitor pushed a commit to branch master.

http://git.enlightenment.org/enlightenment/modules/desksanity.git/commit/?id=b2bd0365cd37ecf162a060ef45240c4a5c42d136

commit b2bd0365cd37ecf162a060ef45240c4a5c42d136
Author: Mike Blumenkrantz <[email protected]>
Date:   Wed Feb 11 23:15:43 2015 -0500

    and null the clip pointer because this module is way too smart to crash
---
 src/pip.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/pip.c b/src/pip.c
index 9acb055..456a052 100644
--- a/src/pip.c
+++ b/src/pip.c
@@ -188,7 +188,7 @@ _pip_mouse_up(void *data, Evas *e EINA_UNUSED, Evas_Object 
*obj EINA_UNUSED, voi
         evas_object_geometry_get(obj, &x, &y, NULL, NULL);
         if ((abs((x + pip->down.x) - ev->output.x) < 3) &&
             (abs((y + pip->down.y) - ev->output.y) < 3))
-          evas_object_del(pip->clip);
+          E_FREE_FUNC(pip->clip, evas_object_del);
         else
           {
              evas_object_color_set(pip->clip, 255, 255, 255, 255);

-- 


Reply via email to