From a30caf6960d84451cf5a4788bc486dad59927348 Mon Sep 17 00:00:00 2001 From: Jon Siwek Date: Tue, 1 Apr 2014 10:29:41 -0500 Subject: [PATCH] Fix potential mem leak in IP frag reassembly. Reported by Coverity, but it's not a typical code path. --- src/Frag.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Frag.cc b/src/Frag.cc index b1efb41594..30bec88af1 100644 --- a/src/Frag.cc +++ b/src/Frag.cc @@ -260,6 +260,7 @@ void FragReassembler::BlockInserted(DataBlock* /* start_block */) reporter->InternalWarning("bad fragment reassembly"); DeleteTimer(); Expire(network_time); + delete [] pkt_start; return; }