From acc99074d1f996c8340e784288ec1c56a43b9e02 Mon Sep 17 00:00:00 2001 From: Cedric BAIL Date: Mon, 9 Jun 2014 19:55:00 +0200 Subject: [PATCH] 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 8a14021eed..ad4cd60588 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 }