diff --git a/src/util-decode-mime.c b/src/util-decode-mime.c index d9941cd986..73f7335e5d 100644 --- a/src/util-decode-mime.c +++ b/src/util-decode-mime.c @@ -2432,6 +2432,7 @@ MimeDecParseState * MimeDecInitParser(void *data, PushStack(state->stack); if (state->stack->top == NULL) { SCFree(state->stack); + SCFree(state->msg); SCFree(state); return NULL; }