From 7a1d6375ead9d6da148581e1473fbb1bb2e372e3 Mon Sep 17 00:00:00 2001 From: Ali Alzyod Date: Sun, 26 Jul 2020 08:51:09 +0000 Subject: [PATCH] elementry_test: fix allocation size This fix Coverty Issue CID: 1430579 Reviewed-by: Vincent Torri Reviewed-by: Stefan Schmidt Differential Revision: https://phab.enlightenment.org/D12065 --- src/bin/elementary/test_label.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/elementary/test_label.c b/src/bin/elementary/test_label.c index d8d1a80698..de7c2bcf32 100644 --- a/src/bin/elementary/test_label.c +++ b/src/bin/elementary/test_label.c @@ -603,7 +603,7 @@ static void _btn_clicked_mem(void *data EINA_UNUSED, Eo *obj, void *eventInfo EI void test_text_memory(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED) { - app_mem = calloc(sizeof(APP), 1); + app_mem = calloc(sizeof(APP_MEM), 1); elm_policy_set(ELM_POLICY_QUIT, ELM_POLICY_QUIT_LAST_WINDOW_CLOSED);