diff --git a/net_nex_input.cc b/net_nex_input.cc index 97211b00d..fa2d9ecfc 100644 --- a/net_nex_input.cc +++ b/net_nex_input.cc @@ -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; }