diff options
author | Josh Blum | 2012-09-19 10:10:48 -0700 |
---|---|---|
committer | Josh Blum | 2012-09-19 10:10:48 -0700 |
commit | d0735919f03dd0aa4d79fcd768cf4393684eb389 (patch) | |
tree | 80e8699e8fea7363706a808e4708ea2f9fc35b37 | |
parent | f8b41cfacd40b5fe6ce9807598b6163837026b59 (diff) | |
download | sandhi-d0735919f03dd0aa4d79fcd768cf4393684eb389.tar.gz sandhi-d0735919f03dd0aa4d79fcd768cf4393684eb389.tar.bz2 sandhi-d0735919f03dd0aa4d79fcd768cf4393684eb389.zip |
use another token for input allocator msg (so the old one can be cleared)
-rw-r--r-- | lib/block_allocator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/block_allocator.cpp b/lib/block_allocator.cpp index ffd052b..a600343 100644 --- a/lib/block_allocator.cpp +++ b/lib/block_allocator.cpp @@ -91,7 +91,7 @@ void ElementImpl::handle_allocation(const tsbe::TaskInterface &task_iface) this->output_buffer_tokens[i] = block_ptr->output_buffer_allocator(i, token, bytes); InputAllocatorMessage message; - message.token = token; + message.token = SBufferToken(new SBufferDeleter(deleter)); message.recommend_length = bytes; task_iface.post_downstream(i, message); } |