summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorStephen Houston <smhouston88@gmail.com>2013-12-29 11:24:54 -0600
committerStephen Houston <smhouston88@gmail.com>2013-12-29 11:34:35 -0600
commitad10bebce083d9ac0226b4e4624284510e7c997d (patch)
tree393a2c84c7bd41ac2279884e565872602b25dc14 /src
parent824bc9385071d67b7e2f4a569655fe6becc26652 (diff)
elm_thumb: Delete ethumb object on smart_del in order to prevent the ethumb from being left as an artifact after the elm_thumb has been deleted.
Diffstat (limited to 'src')
-rw-r--r--src/lib/elm_thumb.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/elm_thumb.c b/src/lib/elm_thumb.c
index a3e3fd979..4a2c46424 100644
--- a/src/lib/elm_thumb.c
+++ b/src/lib/elm_thumb.c
@@ -580,6 +580,12 @@ _elm_thumb_smart_del(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
580 (sd->view, EVAS_CALLBACK_IMAGE_PRELOADED, _on_thumb_preloaded, 580 (sd->view, EVAS_CALLBACK_IMAGE_PRELOADED, _on_thumb_preloaded,
581 sd); 581 sd);
582 582
583 if (sd->view)
584 {
585 evas_object_del(sd->view);
586 sd->view = NULL;
587 }
588
583 eina_stringshare_del(sd->thumb.thumb_path); 589 eina_stringshare_del(sd->thumb.thumb_path);
584 eina_stringshare_del(sd->thumb.thumb_key); 590 eina_stringshare_del(sd->thumb.thumb_key);
585 591