aboutsummaryrefslogtreecommitdiff
path: root/src/support/allocators/secure.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/support/allocators/secure.h')
-rw-r--r--src/support/allocators/secure.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/support/allocators/secure.h b/src/support/allocators/secure.h
index 9daba86ef3..f20f424941 100644
--- a/src/support/allocators/secure.h
+++ b/src/support/allocators/secure.h
@@ -45,7 +45,7 @@ struct secure_allocator : public std::allocator<T> {
void deallocate(T* p, std::size_t n)
{
- if (p != NULL) {
+ if (p != nullptr) {
memory_cleanse(p, sizeof(T) * n);
}
LockedPoolManager::Instance().free(p);