de_ctx->flow_gh[f].udp = NULL;
}
+ uint32_t idx;
+ for (idx = 0; idx < de_ctx->sgh_array_cnt; idx++) {
+ SigGroupHead *sgh = de_ctx->sgh_array[idx];
+ if (sgh == NULL)
+ continue;
+
+ SCLogDebug("sgh %p", sgh);
+ SigGroupHeadFree(sgh);
+ }
+ SCFree(de_ctx->sgh_array);
+ de_ctx->sgh_array = NULL;
+ de_ctx->sgh_array_cnt = 0;
+ de_ctx->sgh_array_size = 0;
IPOnlyDeinit(de_ctx, &de_ctx->io_ctx);
if (sgh == NULL)
continue;
+ SCLogDebug("sgh %p", sgh);
+
SigGroupHeadSetFilemagicFlag(de_ctx, sgh);
SigGroupHeadSetFileMd5Flag(de_ctx, sgh);
SigGroupHeadSetFilesizeFlag(de_ctx, sgh);
SigGroupHeadHashFree(de_ctx);
SigGroupHeadDPortHashFree(de_ctx);
- SCFree(de_ctx->sgh_array);
- de_ctx->sgh_array_cnt = 0;
- de_ctx->sgh_array_size = 0;
-
RulesDumpGrouping(de_ctx);
SCReturnInt(0);