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 }