|
|
|
@ -1678,6 +1678,17 @@ void DetectEngineThreadCtxFree(DetectEngineThreadCtx *det_ctx)
|
|
|
|
SCFree(det_ctx->hcbd);
|
|
|
|
SCFree(det_ctx->hcbd);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* SMTP */
|
|
|
|
|
|
|
|
if (det_ctx->smtp != NULL) {
|
|
|
|
|
|
|
|
SCLogDebug("det_ctx smtp %u", det_ctx->smtp_buffers_size);
|
|
|
|
|
|
|
|
for (i = 0; i < det_ctx->smtp_buffers_size; i++) {
|
|
|
|
|
|
|
|
if (det_ctx->smtp[i].buffer != NULL)
|
|
|
|
|
|
|
|
SCFree(det_ctx->smtp[i].buffer);
|
|
|
|
|
|
|
|
SCLogDebug("det_ctx->smtp[i].buffer_size %u", det_ctx->smtp[i].buffer_size);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
SCFree(det_ctx->smtp);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* Decoded base64 data. */
|
|
|
|
/* Decoded base64 data. */
|
|
|
|
if (det_ctx->base64_decoded != NULL) {
|
|
|
|
if (det_ctx->base64_decoded != NULL) {
|
|
|
|
SCFree(det_ctx->base64_decoded);
|
|
|
|
SCFree(det_ctx->base64_decoded);
|
|
|
|
|