Fix more Coverity-reported issues (introduced by internal error audit).

Mem leaks and a null pointer deref (not actually expected to occur
unless already in one of the the odd states that warrants an internal
warning/error).

Also dead code.
This commit is contained in:
Jon Siwek 2013-10-14 15:37:45 -05:00
parent 1d23f055ba
commit cf6d7ba5ae
4 changed files with 10 additions and 15 deletions

View file

@ -290,8 +290,11 @@ void FragReassembler::BlockInserted(DataBlock* /* start_block */)
}
else
{
reporter->InternalWarning("bad IP version in fragment reassembly: %d",
version);
delete [] pkt_start;
}
}
void FragReassembler::Expire(double t)