eo: force zeroing memory on non Linux system.

@fix
This commit is contained in:
Cedric BAIL 2014-06-09 19:55:00 +02:00
parent 4c1cf87419
commit acc99074d1
1 changed files with 1 additions and 1 deletions

View File

@ -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
}