From: Tom Peters (thopeter) Date: Tue, 1 Nov 2022 18:28:31 +0000 (+0000) Subject: Pull request #3650: http_inspect: add override to destructor X-Git-Tag: 3.1.47.0~17 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=02d443446caa39a773e9b997c4ec5dbed70390bc;p=thirdparty%2Fsnort3.git Pull request #3650: http_inspect: add override to destructor Merge in SNORT/snort3 from ~THOPETER/snort3:issue_fix to master Squashed commit of the following: commit 24ab14e54f8071b8b81036c46d310329da32e329 Author: Tom Peters Date: Tue Nov 1 11:12:48 2022 -0400 http_inspect: add override to destructor --- diff --git a/src/service_inspectors/http_inspect/ips_http_param.h b/src/service_inspectors/http_inspect/ips_http_param.h index baec16323..50fd5c48f 100644 --- a/src/service_inspectors/http_inspect/ips_http_param.h +++ b/src/service_inspectors/http_inspect/ips_http_param.h @@ -39,7 +39,7 @@ public: : HttpRuleOptModule(key_, help, rule_opt_index_, cat_, params) { search_handle = snort::LiteralSearch::setup(); } - ~HttpParamRuleOptModule() + ~HttpParamRuleOptModule() override { snort::LiteralSearch::cleanup(search_handle); } snort::ProfileStats* get_profile() const override { return &http_param_ps; }