aboutsummaryrefslogtreecommitdiffstats
path: root/src/core/utils/MemoryUtils.cpp
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2023-12-13 12:02:24 +0000
committersaturneric <[email protected]>2023-12-13 12:02:34 +0000
commitd74765b42206a83c0ade8617e8100794eb169f37 (patch)
tree531352a75e4996c2a51cdb53b070515cd5596f53 /src/core/utils/MemoryUtils.cpp
parentfix: add some logs in setting channel object (diff)
downloadGpgFrontend-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.cpp6
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