Fix potential mem leak in IP frag reassembly.

Reported by Coverity, but it's not a typical code path.
This commit is contained in:
Jon Siwek 2014-04-01 10:29:41 -05:00
parent 9ec657eeb1
commit a30caf6960

View file

@ -260,6 +260,7 @@ void FragReassembler::BlockInserted(DataBlock* /* start_block */)
reporter->InternalWarning("bad fragment reassembly"); reporter->InternalWarning("bad fragment reassembly");
DeleteTimer(); DeleteTimer();
Expire(network_time); Expire(network_time);
delete [] pkt_start;
return; return;
} }