@@ -345,13 +345,13 @@ static int DetectHTTP2prioritySetup (DetectEngineCtx *de_ctx, Signature *s, cons
345345 if (SCDetectSignatureSetAppProto (s , ALPROTO_HTTP2 ) != 0 )
346346 return -1 ;
347347
348- DetectU8Data * prio = SCDetectU8ArrayParse (str );
348+ DetectU8ArrayData * prio = SCDetectU8ArrayParse (str );
349349 if (prio == NULL )
350350 return -1 ;
351351
352352 if (SCSigMatchAppendSMToList (de_ctx , s , DETECT_HTTP2_PRIORITY , (SigMatchCtx * )prio ,
353353 g_http2_match_buffer_id ) == NULL ) {
354- SCDetectU8Free (prio );
354+ SCDetectU8ArrayFree (prio );
355355 return -1 ;
356356 }
357357
@@ -397,14 +397,14 @@ static int DetectHTTP2windowSetup (DetectEngineCtx *de_ctx, Signature *s, const
397397 if (SCDetectSignatureSetAppProto (s , ALPROTO_HTTP2 ) != 0 )
398398 return -1 ;
399399
400- DetectU32Data * wu = SCDetectU32ArrayParse (str );
400+ DetectU32ArrayData * wu = SCDetectU32ArrayParse (str );
401401 if (wu == NULL )
402402 return -1 ;
403403
404404 // use g_http2_complete_buffer_id as we may have window changes in any state
405405 if (SCSigMatchAppendSMToList (de_ctx , s , DETECT_HTTP2_WINDOW , (SigMatchCtx * )wu ,
406406 g_http2_complete_buffer_id ) == NULL ) {
407- SCDetectU32Free (wu );
407+ SCDetectU32ArrayFree (wu );
408408 return -1 ;
409409 }
410410
@@ -450,13 +450,13 @@ static int DetectHTTP2sizeUpdateSetup (DetectEngineCtx *de_ctx, Signature *s, co
450450 if (SCDetectSignatureSetAppProto (s , ALPROTO_HTTP2 ) != 0 )
451451 return -1 ;
452452
453- void * su = SCDetectU64Parse (str );
453+ DetectU64Data * su = SCDetectU64Parse (str );
454454 if (su == NULL )
455455 return -1 ;
456456
457457 if (SCSigMatchAppendSMToList (de_ctx , s , DETECT_HTTP2_SIZEUPDATE , (SigMatchCtx * )su ,
458458 g_http2_match_buffer_id ) == NULL ) {
459- DetectHTTP2settingsFree ( NULL , su );
459+ SCDetectU64Free ( su );
460460 return -1 ;
461461 }
462462
0 commit comments