From: Victor Julien Date: Fri, 20 Jan 2023 17:51:04 +0000 (+0100) Subject: http2: explicity free files X-Git-Tag: suricata-7.0.0-rc1~131 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0320c03f8c2f32d4b9d03018cf324babb8d5386d;p=thirdparty%2Fsuricata.git http2: explicity free files In preparation of adding an argument to the free functions which means the drop trait can't be used anymore. --- diff --git a/rust/src/http2/http2.rs b/rust/src/http2/http2.rs index df9a30fbf2..83eb492cac 100644 --- a/rust/src/http2/http2.rs +++ b/rust/src/http2/http2.rs @@ -364,6 +364,8 @@ impl HTTP2Transaction { impl Drop for HTTP2Transaction { fn drop(&mut self) { + self.files.files_ts.free(); + self.files.files_tc.free(); self.free(); } }