diff options
author | Josh Blum | 2013-07-14 13:06:49 -0700 |
---|---|---|
committer | Josh Blum | 2013-07-14 13:06:49 -0700 |
commit | 6f9ab7732da5731ee0db59d9623111b7af9b2e94 (patch) | |
tree | 72b0a25f5ed1f77be144d011b5c5d7df4f9b0cdf /lib/top_block.cpp | |
parent | ebb794f538612633d8018922eda4e6ac84b6d585 (diff) | |
download | sandhi-6f9ab7732da5731ee0db59d9623111b7af9b2e94.tar.gz sandhi-6f9ab7732da5731ee0db59d9623111b7af9b2e94.tar.bz2 sandhi-6f9ab7732da5731ee0db59d9623111b7af9b2e94.zip |
gras: fixed allocation override bug + unit test
When multiple consumers all choose to override the buffer,
they were doing so with the same token, this lead to some
buffer allocation confusion and nasty errors.
Its ok for one to win out, but each allocator needs a unique token.
There is also a unit test to check for this behaviour.
Diffstat (limited to 'lib/top_block.cpp')
0 files changed, 0 insertions, 0 deletions