diff --git a/src/detect-icode.c b/src/detect-icode.c index 33d5beea4e..ab56553cc0 100644 --- a/src/detect-icode.c +++ b/src/detect-icode.c @@ -311,7 +311,6 @@ static int DetectICodeParseTest08(void) DetectU8Data *icd = DetectU8Parse("> 8 <> 20"); FAIL_IF_NOT_NULL(icd); - DetectICodeFree(NULL, icd); PASS; } @@ -324,7 +323,6 @@ static int DetectICodeParseTest09(void) DetectU8Data *icd = DetectU8Parse("8<<20"); FAIL_IF_NOT_NULL(icd); - DetectICodeFree(NULL, icd); PASS; } diff --git a/src/detect-itype.c b/src/detect-itype.c index 8a9af90883..237d0548e6 100644 --- a/src/detect-itype.c +++ b/src/detect-itype.c @@ -334,7 +334,6 @@ static int DetectITypeParseTest08(void) DetectU8Data *itd = NULL; itd = DetectITypeParse(NULL, "> 8 <> 20"); FAIL_IF_NOT_NULL(itd); - DetectITypeFree(NULL, itd); PASS; }