aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd/memorypool.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/microhttpd/memorypool.c')
-rw-r--r--src/microhttpd/memorypool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/microhttpd/memorypool.c b/src/microhttpd/memorypool.c
index 49ed9524..4408378c 100644
--- a/src/microhttpd/memorypool.c
+++ b/src/microhttpd/memorypool.c
@@ -272,7 +272,7 @@ MHD_pool_destroy (struct MemoryPool *pool)
272 272
273 mhd_assert (pool->end >= pool->pos); 273 mhd_assert (pool->end >= pool->pos);
274 mhd_assert (pool->size >= pool->end - pool->pos); 274 mhd_assert (pool->size >= pool->end - pool->pos);
275 _MHD_POISON_MEMORY (pool->memory, pool->size); 275 _MHD_UNPOISON_MEMORY (pool->memory, pool->size);
276 if (! pool->is_mmap) 276 if (! pool->is_mmap)
277 free (pool->memory); 277 free (pool->memory);
278 else 278 else