cedric pushed a commit to branch master.

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

commit acc99074d1f996c8340e784288ec1c56a43b9e02
Author: Cedric BAIL <[email protected]>
Date:   Mon Jun 9 19:55:00 2014 +0200

    eo: force zeroing memory on non Linux system.
    
    @fix
---
 src/lib/eo/eo.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/eo/eo.c b/src/lib/eo/eo.c
index 8a14021..ad4cd60 100644
--- a/src/lib/eo/eo.c
+++ b/src/lib/eo/eo.c
@@ -306,7 +306,7 @@ _eo_call_stack_mem_alloc(size_t maxsize)
    return ptr;
 #else
    //in regular cases just use malloc
-   return malloc(maxsize);
+   return calloc(1, maxsize);
 #endif   
 }
 

-- 


Reply via email to