diff options
author | Josh Blum | 2012-09-19 12:16:27 -0700 |
---|---|---|
committer | Josh Blum | 2012-09-19 12:16:27 -0700 |
commit | e6020edf49b81dca6fcf3bd1eafbb2ea0415e2a2 (patch) | |
tree | 3cf017f9b606868f96d0ef61c4aca8ed183a633d /lib/block_allocator.cpp | |
parent | d0735919f03dd0aa4d79fcd768cf4393684eb389 (diff) | |
download | sandhi-e6020edf49b81dca6fcf3bd1eafbb2ea0415e2a2.tar.gz sandhi-e6020edf49b81dca6fcf3bd1eafbb2ea0415e2a2.tar.bz2 sandhi-e6020edf49b81dca6fcf3bd1eafbb2ea0415e2a2.zip |
a few more forecast related tweaks
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; |