From: Cedric BAIL Date: Mon, 9 Jun 2014 17:55:00 +0000 (+0200) Subject: eo: force zeroing memory on non Linux system. X-Git-Tag: upstream/1.10.0+1149+ga3a15b1~657 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=acc99074d1f996c8340e784288ec1c56a43b9e02;p=platform%2Fupstream%2Fefl.git eo: force zeroing memory on non Linux system. @fix --- 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 }