aboutsummaryrefslogtreecommitdiff
path: root/src/support/allocators/zeroafterfree.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/support/allocators/zeroafterfree.h')
-rw-r--r--src/support/allocators/zeroafterfree.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/support/allocators/zeroafterfree.h b/src/support/allocators/zeroafterfree.h
index 28a940ad1b..581d5d6318 100644
--- a/src/support/allocators/zeroafterfree.h
+++ b/src/support/allocators/zeroafterfree.h
@@ -36,7 +36,7 @@ struct zero_after_free_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);
std::allocator<T>::deallocate(p, n);
}