Fix memory leak in NetBlock::nex_input().
This commit is contained in:
parent
be2595085f
commit
bfb14fbbc6
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue