summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh Blum2012-09-19 10:10:48 -0700
committerJosh Blum2012-09-19 10:10:48 -0700
commitd0735919f03dd0aa4d79fcd768cf4393684eb389 (patch)
tree80e8699e8fea7363706a808e4708ea2f9fc35b37
parentf8b41cfacd40b5fe6ce9807598b6163837026b59 (diff)
downloadsandhi-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.cpp2
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);
}