diff options
Diffstat (limited to 'src/lib/utils')
-rw-r--r-- | src/lib/utils/mem_ops.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/utils/mem_ops.cpp b/src/lib/utils/mem_ops.cpp index 9018979de..29c93eb15 100644 --- a/src/lib/utils/mem_ops.cpp +++ b/src/lib/utils/mem_ops.cpp @@ -13,7 +13,7 @@ namespace Botan { -void* allocate_memory(size_t elems, size_t elem_size) +BOTAN_MALLOC_FN void* allocate_memory(size_t elems, size_t elem_size) { #if defined(BOTAN_HAS_LOCKING_ALLOCATOR) if(void* p = mlock_allocator::instance().allocate(elems, elem_size)) |