summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSung W. Park <sungwoo@gmail.com>2014-02-22 03:15:57 +0900
committerSung W. Park <sungwoo@gmail.com>2014-02-22 03:17:06 +0900
commit5c65df8c7f4ddae5f916fa48e6063c7f2133cb58 (patch)
tree331b1d99582e9c2a9c2ec401ef660ecf7c3f3047
parent55fb77308b33c7c66c389ab60f4fdb16957a381a (diff)
elementary_test glview: fixed segv on close
It was deleting gldata object twice upon closing the program.
-rw-r--r--src/bin/test_glview.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/bin/test_glview.c b/src/bin/test_glview.c
index 463761cf7..c840b97ca 100644
--- a/src/bin/test_glview.c
+++ b/src/bin/test_glview.c
@@ -516,9 +516,7 @@ static void
516_del(void *data EINA_UNUSED, Evas *evas EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED) 516_del(void *data EINA_UNUSED, Evas *evas EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED)
517{ 517{
518 Ecore_Animator *ani = evas_object_data_get(obj, "ani"); 518 Ecore_Animator *ani = evas_object_data_get(obj, "ani");
519 GLData *gld = evas_object_data_get(obj, "gld");
520 ecore_animator_del(ani); 519 ecore_animator_del(ani);
521 free(gld);
522} 520}
523 521
524static void 522static void