aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJaehwan Kim <jae.hwan.kim@samsung.com>2014-02-27 13:36:02 +0900
committerJaehwan Kim <jae.hwan.kim@samsung.com>2014-02-27 13:41:29 +0900
commit5a7321a31440d34d20ae9d0cbd472dd6eba303b8 (patch)
tree0c5ee2904e8b8c4ca09b0db81ca1a51403c9e501 /src
parentevas: replace EINA_LIST_FREE to EINA_LIST_FOREACH_SAFE. (diff)
downloadefl-5a7321a31440d34d20ae9d0cbd472dd6eba303b8.tar.gz
edje: Fix CURRENT option works.
By this code the CURRENT option didn't work. Don't remove rp->current before the animation is excuted. The memory leak issue is resolved by commit(d636c0f801dd56671a970076acdfdf78dd3115f6).
Diffstat (limited to 'src')
-rw-r--r--src/lib/edje/edje_program.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/lib/edje/edje_program.c b/src/lib/edje/edje_program.c
index ac32aa57e9..0a7c55acc7 100644
--- a/src/lib/edje/edje_program.c
+++ b/src/lib/edje/edje_program.c
@@ -450,15 +450,6 @@ _edje_program_end(Edje *ed, Edje_Running_Program *runp)
runp->program->tween.v3,
runp->program->tween.v4);
- if (rp->current)
- {
- eina_cow_free(_edje_calc_params_map_cow, (const Eina_Cow_Data **) &rp->current->map);
-#ifdef HAVE_EPHYSICS
- eina_cow_free(_edje_calc_params_physics_cow, (const Eina_Cow_Data **) &rp->current->physics);
-#endif
- free(rp->current);
- rp->current = NULL;
- }
rp->program = NULL;
}
}
@@ -586,7 +577,6 @@ _edje_program_run(Edje *ed, Edje_Program *pr, Eina_Bool force, const char *ssig,
free(rp->current);
}
rp->current = tmp;
-
}
else
{