aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgeni <me@geni.site>2021-12-31 15:00:39 +0200
committergeni <me@geni.site>2021-12-31 15:00:39 +0200
commit6b401003bbc94748b7839a0a22f02578ff09a4ed (patch)
treeb76e6b84806cceedfad1eac1bc04007248b48e0d
parent32b1257cd62ee6ec7f1087355a2d9e181429d165 (diff)
downloadNorthstarLauncher-6b401003bbc94748b7839a0a22f02578ff09a4ed.tar.gz
NorthstarLauncher-6b401003bbc94748b7839a0a22f02578ff09a4ed.zip
Whoops
-rw-r--r--NorthstarDedicatedTest/memalloc.cpp3
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;