mirror of https://github.com/OISF/suricata
detect/http2: call correct free function on errors
Fix cases where the wrong free function was being called in error handlers. DetectHTTP2sizeUpdateSetup was calling DetectHTTP2settingsFree instead of DetectHTTP2sizeUpdateFree in error case. Moving http2.priority and http2.window to multi-integers, instead of basic integers only modified the Free callback, but the Setup function was still using the direct call to old obsolete free function. Using the callback Free abstration in Setup, allows to be consistent and have less code to change.pull/14202/head
parent
56c8db6cb6
commit
65e7e93f88
Loading…
Reference in New Issue