From d1b1e0be064dd73f0601f8c73761f609059f5d30 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Thu, 30 Aug 2012 08:44:00 +0000 Subject: [PATCH] finally fix annoying null safety errors on shutdown SVN revision: 75853 --- src/bin/e_thumb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }