evas: use evas_image_cache_drop instead of plain wrong call to free.
authorCedric BAIL <cedric.bail@free.fr>
Wed, 1 Feb 2012 17:28:30 +0000 (17:28 +0000)
committerCedric BAIL <cedric.bail@free.fr>
Wed, 1 Feb 2012 17:28:30 +0000 (17:28 +0000)
SVN revision: 67681

legacy/evas/ChangeLog
legacy/evas/src/lib/engines/common/evas_image_main.c

index c2cb509..05524a3 100644 (file)
        For example, this can be used to nicely change the font and size
        in a text editor.
 
+2012-02-01  Cedric Bail
+
+       * Fix crash in Evas engine due to a direct free of an RGBA_Image
+       instead of properly droping it.
index d2f8c0b..7ee5d2e 100644 (file)
@@ -202,7 +202,8 @@ _evas_common_rgba_image_delete(Image_Entry *ie)
              }
           }
      }
-   free(im);
+
+   evas_cache_image_drop(&(im->cache_entry));
 }
 
 EAPI void