cedric pushed a commit to branch efl-1.10.

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

commit b3ace062a0c57502e7a45bc084cb3c918f5c295d
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 19a0e99..6fe7cd6 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