Fix for debug-build.

This commit is contained in:
jeefo 2019-09-21 23:32:49 +03:00
commit 0f23ef8e4f
2 changed files with 4 additions and 4 deletions

View file

@ -32,7 +32,7 @@ public:
// calloc on linux with debug enabled doesn't always zero out memory
#if defined (CR_DEBUG) && !defined (CR_WINDOWS)
plat.bzero (ptr);
plat.bzero (ptr, length);
#endif
return ptr;
}