summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAli Alzyod <ali198724@gmail.com>2020-07-26 08:51:09 +0000
committerStefan Schmidt <s.schmidt@samsung.com>2020-07-27 14:37:31 +0200
commit7a1d6375ead9d6da148581e1473fbb1bb2e372e3 (patch)
treeba5ded712d1a5b57f9682f5695f0d8ef025e1188
parentf9653f015b0db37cc1c68a449998f6270385521a (diff)
elementry_test: fix allocation size
This fix Coverty Issue CID: 1430579 Reviewed-by: Vincent Torri <vincent.torri@gmail.com> Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Differential Revision: https://phab.enlightenment.org/D12065
-rw-r--r--src/bin/elementary/test_label.c2
1 files changed, 1 insertions, 1 deletions
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
603void 603void
604test_text_memory(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED) 604test_text_memory(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
605{ 605{
606 app_mem = calloc(sizeof(APP), 1); 606 app_mem = calloc(sizeof(APP_MEM), 1);
607 607
608 elm_policy_set(ELM_POLICY_QUIT, ELM_POLICY_QUIT_LAST_WINDOW_CLOSED); 608 elm_policy_set(ELM_POLICY_QUIT, ELM_POLICY_QUIT_LAST_WINDOW_CLOSED);
609 609