diff --git a/src/app-layer-htp-body.c b/src/app-layer-htp-body.c index e1cda5659c..dfda083b6b 100644 --- a/src/app-layer-htp-body.c +++ b/src/app-layer-htp-body.c @@ -166,9 +166,6 @@ void HtpBodyFree(HtpBody *body) { SCEnter(); - if (body->first == NULL) - return; - SCLogDebug("removing chunks of body %p", body); HtpBodyChunk *cur = NULL;