diff --git a/src/bin/e_thumb.c b/src/bin/e_thumb.c index 3cb8b0b13..b238a5f2c 100644 --- a/src/bin/e_thumb.c +++ b/src/bin/e_thumb.c @@ -363,7 +363,7 @@ _e_thumb_hash_del(int objid) char buf[32]; snprintf(buf, sizeof(buf), "%i", objid); - eina_hash_del(_thumbs, buf, NULL); + if (_thumbs) eina_hash_del(_thumbs, buf, NULL); if ((!_thumbs) && (!_thumbnailers)) _objid = 0; }