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 /LauncherInjector/memalloc.cpp | |
parent | cec11fbdefa6e96cffd635fe0047de5245764cc9 (diff) | |
download | NorthstarLauncher-4f7c3d02943a38941b79a638c5607b2b7f668956.tar.gz NorthstarLauncher-4f7c3d02943a38941b79a638c5607b2b7f668956.zip |
actually use custom allocation, override allocators of curl and rapidjson
Diffstat (limited to 'LauncherInjector/memalloc.cpp')
-rw-r--r-- | LauncherInjector/memalloc.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/LauncherInjector/memalloc.cpp b/LauncherInjector/memalloc.cpp index 936523d7..af334acf 100644 --- a/LauncherInjector/memalloc.cpp +++ b/LauncherInjector/memalloc.cpp @@ -76,6 +76,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) |