expedite: don't leak Evas_Map.
authorcedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 4 Jul 2012 12:02:17 +0000 (12:02 +0000)
committercedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 4 Jul 2012 12:02:17 +0000 (12:02 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/expedite@73272 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/bin/image_map_3d_6.c

index 74716a2..fd0c419 100644 (file)
@@ -101,7 +101,7 @@ _cube_pos(Cube *c,
           Evas_Coord x, Evas_Coord y, Evas_Coord z,
           double dx, double dy, double dz)
 {
-   Evas_Map *m = NULL;
+   static Evas_Map *m = NULL;
    int i, j, order[6], sorted;
    Evas_Coord mz[6];