Fix for debug-build.
This commit is contained in:
parent
61fad287e7
commit
0f23ef8e4f
2 changed files with 4 additions and 4 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue