diff options
author | geni <me@geni.site> | 2021-12-31 15:00:39 +0200 |
---|---|---|
committer | geni <me@geni.site> | 2021-12-31 15:00:39 +0200 |
commit | 6b401003bbc94748b7839a0a22f02578ff09a4ed (patch) | |
tree | b76e6b84806cceedfad1eac1bc04007248b48e0d /NorthstarDedicatedTest/memalloc.cpp | |
parent | 32b1257cd62ee6ec7f1087355a2d9e181429d165 (diff) | |
download | NorthstarLauncher-6b401003bbc94748b7839a0a22f02578ff09a4ed.tar.gz NorthstarLauncher-6b401003bbc94748b7839a0a22f02578ff09a4ed.zip |
Whoops
Diffstat (limited to 'NorthstarDedicatedTest/memalloc.cpp')
-rw-r--r-- | NorthstarDedicatedTest/memalloc.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/NorthstarDedicatedTest/memalloc.cpp b/NorthstarDedicatedTest/memalloc.cpp index c9cf4d60..86215e3f 100644 --- a/NorthstarDedicatedTest/memalloc.cpp +++ b/NorthstarDedicatedTest/memalloc.cpp @@ -41,7 +41,8 @@ extern "C" void* _calloc_base(size_t n, size_t size) { size_t bytes = n * size; void* memory = _malloc_base(bytes); - if (memory) { + if (memory) + { memset(memory, 0, bytes); } return memory; |