diff options
Diffstat (limited to 'lib/block_allocator.cpp')
-rw-r--r-- | lib/block_allocator.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/block_allocator.cpp b/lib/block_allocator.cpp index a600343..e26f350 100644 --- a/lib/block_allocator.cpp +++ b/lib/block_allocator.cpp @@ -110,6 +110,7 @@ SBufferToken Block::output_buffer_allocator( config.affinity = (*this)->buffer_affinity; config.token = token; SBuffer buff(config); + std::memset(buff.get_actual_memory(), 0, buff.get_actual_length()); //buffer derefs here and the token messages it back to the block } return token; |