diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2025-06-06 14:53:24 +1000 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2025-06-06 14:53:24 +1000 |
commit | a01968c3b090db55cc36cccc0eb8ded54ff1de6f (patch) | |
tree | a0f2193160358dd2ca9af74d7ebf7081b3e90688 /source/core/StarMemory.cpp | |
parent | 214c8c939f377abed795cf6d66929e3a07c6820c (diff) |
fetch jemalloc from vcpkg
Diffstat (limited to 'source/core/StarMemory.cpp')
-rw-r--r-- | source/core/StarMemory.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/core/StarMemory.cpp b/source/core/StarMemory.cpp index 6ecc509..c7818f3 100644 --- a/source/core/StarMemory.cpp +++ b/source/core/StarMemory.cpp @@ -50,8 +50,7 @@ namespace Star { } void free(void* ptr, size_t size) { - if (ptr) - ::sdallocx(ptr, size, 0); + ::free(ptr); } #endif #elif STAR_USE_MIMALLOC |