diff --git a/src/detect-flowint.c b/src/detect-flowint.c index 10b12b9dd3..e1be3e3213 100644 --- a/src/detect-flowint.c +++ b/src/detect-flowint.c @@ -291,7 +291,7 @@ static DetectFlowintData *DetectFlowintParse(DetectEngineCtx *de_ctx, const char goto error; } - sfd = SCMalloc(sizeof(DetectFlowintData)); + sfd = SCCalloc(1, sizeof(DetectFlowintData)); if (unlikely(sfd == NULL)) goto error;