diff options
author | saturneric <[email protected]> | 2023-12-13 12:02:24 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2023-12-13 12:02:34 +0000 |
commit | d74765b42206a83c0ade8617e8100794eb169f37 (patch) | |
tree | 531352a75e4996c2a51cdb53b070515cd5596f53 /src/core/utils/MemoryUtils.cpp | |
parent | fix: add some logs in setting channel object (diff) | |
download | GpgFrontend-d74765b42206a83c0ade8617e8100794eb169f37.tar.gz GpgFrontend-d74765b42206a83c0ade8617e8100794eb169f37.zip |
feat: mimalloc support valgrind
Diffstat (limited to 'src/core/utils/MemoryUtils.cpp')
-rw-r--r-- | src/core/utils/MemoryUtils.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/utils/MemoryUtils.cpp b/src/core/utils/MemoryUtils.cpp index eae9fa10..f002fd87 100644 --- a/src/core/utils/MemoryUtils.cpp +++ b/src/core/utils/MemoryUtils.cpp @@ -31,12 +31,12 @@ namespace GpgFrontend { auto SecureMalloc(std::size_t size) -> void * { - return SecurityMemoryAllocator::Allocate(size); + return SecureMemoryAllocator::Allocate(size); } auto SecureRealloc(void *ptr, std::size_t size) -> void * { - return SecurityMemoryAllocator::Reallocate(ptr, size); + return SecureMemoryAllocator::Reallocate(ptr, size); } -void SecureFree(void *ptr) { SecurityMemoryAllocator::Deallocate(ptr); } +void SecureFree(void *ptr) { SecureMemoryAllocator::Deallocate(ptr); } } // namespace GpgFrontend
\ No newline at end of file |