MINOR: memory: also poison the area on freeing

Doing so sometimes helps detect some UAF situations without the overhead
associated to the DEBUG_UAF define.
diff --git a/include/common/memory.h b/include/common/memory.h
index ae1ad22..1aab6d4 100644
--- a/include/common/memory.h
+++ b/include/common/memory.h
@@ -332,6 +332,8 @@
 		if (*POOL_LINK(pool, ptr) != (void *)pool)
 			*(volatile int *)0 = 0;
 #endif
+		if (mem_poison_byte >= 0)
+			memset(ptr, mem_poison_byte, pool->size);
 		pool_put_to_cache(pool, ptr);
 	}
 }