Fix memory leak in NetBlock::nex_input().

This commit is contained in:
Martin Whitaker 2013-10-28 23:08:52 +00:00
parent be2595085f
commit bfb14fbbc6
1 changed files with 1 additions and 0 deletions

View File

@ -324,6 +324,7 @@ NexusSet* NetBlock::nex_input(bool rem_out)
from other statements. They aren't really inputs
to the block, just internal intermediate values. */
if (rem_out) result->rem(*prev);
delete prev;
return result;
}