From eaf7f37f437230ef85e0cd30af4984a23fc59810 Mon Sep 17 00:00:00 2001 From: raster Date: Wed, 25 Apr 2012 08:56:25 +0000 Subject: [PATCH] lets not use a string wer just freed ok? git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@70460 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/elm_map.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/elm_map.c b/src/lib/elm_map.c index 54b7292..bffd930 100644 --- a/src/lib/elm_map.c +++ b/src/lib/elm_map.c @@ -840,9 +840,9 @@ _grid_item_free(Grid_Item *gi) if (gi->g && gi->g->grid) eina_matrixsparse_data_idx_set(gi->g->grid, gi->y, gi->x, NULL); if (gi->url) eina_stringshare_del(gi->url); + if (gi->file_have) ecore_file_remove(gi->file); if (gi->file) eina_stringshare_del(gi->file); if (gi->img) evas_object_del(gi->img); - if (gi->file_have) ecore_file_remove(gi->file); free(gi); } -- 2.7.4