raster pushed a commit to branch master. http://git.enlightenment.org/core/elementary.git/commit/?id=468b4cfeced34776db3d082b07b64f94040592b3
commit 468b4cfeced34776db3d082b07b64f94040592b3 Author: wonguk.jeong <wonguk.je...@samsung.com> Date: Mon May 26 15:25:28 2014 +0900 test_progressbar: delete timer when progressbar is destroyed. Summary: elementary_test -> progressbar/progressbar2 -> press start -> close window -> annoying message is shown due to API invoking for already free'd progressbar Test Plan: elementary_test -> progressbar/progressbar2 -> press start -> close progressbar/progressbar2 window Reviewers: raster, seoz CC: seoz Differential Revision: https://phab.enlightenment.org/D888 --- src/bin/test_progressbar.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bin/test_progressbar.c b/src/bin/test_progressbar.c index e89c9ea..2089db1 100644 --- a/src/bin/test_progressbar.c +++ b/src/bin/test_progressbar.c @@ -82,6 +82,7 @@ _progressbar_destroy_cb(void *data, Evas_Object *obj, void *event_info EINA_UNUS { Progressbar_Data *pd = data; + if (pd->timer) ecore_timer_del(pd->timer); if (pd) free(pd); my_progressbar_test_stop(NULL, NULL, NULL); evas_object_del(obj); --