From 0320c03f8c2f32d4b9d03018cf324babb8d5386d Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Fri, 20 Jan 2023 18:51:04 +0100 Subject: [PATCH] http2: explicity free files In preparation of adding an argument to the free functions which means the drop trait can't be used anymore. --- rust/src/http2/http2.rs | 2 ++ 1 file changed, 2 insertions(+) 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(); } } -- 2.47.2