diff options
author | p0358 <p0358@users.noreply.github.com> | 2021-12-30 06:26:10 +0100 |
---|---|---|
committer | p0358 <p0358@users.noreply.github.com> | 2021-12-30 06:26:10 +0100 |
commit | 4f7c3d02943a38941b79a638c5607b2b7f668956 (patch) | |
tree | 57cf52a0fcf5aaebedc7c8340a88038857c50174 /loader_launcher_proxy | |
parent | cec11fbdefa6e96cffd635fe0047de5245764cc9 (diff) | |
download | NorthstarLauncher-4f7c3d02943a38941b79a638c5607b2b7f668956.tar.gz NorthstarLauncher-4f7c3d02943a38941b79a638c5607b2b7f668956.zip |
actually use custom allocation, override allocators of curl and rapidjson
Diffstat (limited to 'loader_launcher_proxy')
-rw-r--r-- | loader_launcher_proxy/Memory.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/loader_launcher_proxy/Memory.cpp b/loader_launcher_proxy/Memory.cpp index bd19502a..f00c4d96 100644 --- a/loader_launcher_proxy/Memory.cpp +++ b/loader_launcher_proxy/Memory.cpp @@ -70,6 +70,7 @@ void* realloc(void* old_ptr, size_t size) { if (g_ppMemAllocSingleton && *g_ppMemAllocSingleton) return (*g_ppMemAllocSingleton)->m_vtable->Realloc(*g_ppMemAllocSingleton, old_ptr, size); + return nullptr; } void* operator new(size_t n) |