|
|
|
@ -1126,8 +1126,9 @@ static void SMTPTransactionFree(SMTPTransaction *tx, SMTPState *state)
|
|
|
|
/* Free list of MIME message recursively */
|
|
|
|
/* Free list of MIME message recursively */
|
|
|
|
MimeDecFreeEntity(tx->msg_head);
|
|
|
|
MimeDecFreeEntity(tx->msg_head);
|
|
|
|
|
|
|
|
|
|
|
|
if (tx->decoder_events != NULL) {
|
|
|
|
if (tx->decoder_events != NULL)
|
|
|
|
AppLayerDecoderEventsFreeEvents(&tx->decoder_events);
|
|
|
|
AppLayerDecoderEventsFreeEvents(&tx->decoder_events);
|
|
|
|
|
|
|
|
|
|
|
|
if (tx->de_state != NULL)
|
|
|
|
if (tx->de_state != NULL)
|
|
|
|
DetectEngineStateFree(tx->de_state);
|
|
|
|
DetectEngineStateFree(tx->de_state);
|
|
|
|
#if 0
|
|
|
|
#if 0
|
|
|
|
@ -1136,7 +1137,6 @@ static void SMTPTransactionFree(SMTPTransaction *tx, SMTPState *state)
|
|
|
|
else
|
|
|
|
else
|
|
|
|
smtp_state->events = 0;
|
|
|
|
smtp_state->events = 0;
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
}
|
|
|
|
|
|
|
|
SCFree(tx);
|
|
|
|
SCFree(tx);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|