stefan pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=7a1d6375ead9d6da148581e1473fbb1bb2e372e3

commit 7a1d6375ead9d6da148581e1473fbb1bb2e372e3
Author: Ali Alzyod <ali198...@gmail.com>
Date:   Sun Jul 26 08:51:09 2020 +0000

    elementry_test: fix allocation size
    
    This fix Coverty Issue CID: 1430579
    
    Reviewed-by: Vincent Torri <vincent.to...@gmail.com>
    Reviewed-by: Stefan Schmidt <ste...@datenfreihafen.org>
    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);
 

-- 


Reply via email to