summaryrefslogtreecommitdiff
path: root/src/bin
diff options
context:
space:
mode:
authorSubhransu Mohanty <smohantty@gmail.com>2020-06-08 20:28:14 +0900
committerHermet Park <chuneon.park@samsung.com>2020-06-08 20:28:14 +0900
commit101ca2db82a476e038c08edc798aabb4ce425b84 (patch)
treee2d89ca59ed78e7dba0eb971b66e7b6f7d328330 /src/bin
parenta02deffad70a2841084465a3809bb2e035ccf1a0 (diff)
elementary/example: Fix memory leak in gengrid test
Reviewers: Hermet, SanghyeonLee Reviewed By: Hermet, SanghyeonLee Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11928
Diffstat (limited to 'src/bin')
-rw-r--r--src/bin/elementary/test_gengrid.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bin/elementary/test_gengrid.c b/src/bin/elementary/test_gengrid.c
index e2009e0db6..83f2dd9262 100644
--- a/src/bin/elementary/test_gengrid.c
+++ b/src/bin/elementary/test_gengrid.c
@@ -2160,6 +2160,7 @@ test_gengrid_update(void *data EINA_UNUSED,
2160 2160
2161 win = elm_win_util_standard_add("gengrid-update", "Gengrid Update"); 2161 win = elm_win_util_standard_add("gengrid-update", "Gengrid Update");
2162 elm_win_autodel_set(win, EINA_TRUE); 2162 elm_win_autodel_set(win, EINA_TRUE);
2163 evas_object_event_callback_add(win, EVAS_CALLBACK_FREE, _cleanup_cb, api);
2163 2164
2164 api->box = bx = elm_box_add(win); 2165 api->box = bx = elm_box_add(win);
2165 evas_object_size_hint_weight_set(bx, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); 2166 evas_object_size_hint_weight_set(bx, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);