Skip to content

Commit

Permalink
Merge pull request flucoma#399 from AlexHarker/feature/streaming-list…
Browse files Browse the repository at this point in the history
…s-fixes

Don't attempt to assign memory when outputSize is negative (or zero)
  • Loading branch information
AlexHarker authored and James Bradbury committed Aug 27, 2023
2 parents 1e840f6 + 366240c commit 33543a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/include/FluidMaxWrapper.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1369,7 +1369,7 @@ class FluidMaxWrapper
? mListSize
: mClient.controlChannelsOut().max;

if (outputSize)
if (outputSize > 0)
{
mOutputListData.resize(mClient.controlChannelsOut().count, outputSize);
mOutputListAtoms.reserve(outputSize);
Expand Down

0 comments on commit 33543a5

Please sign in to comment.