diff --git a/rust/src/filecontainer.rs b/rust/src/filecontainer.rs index 7ea3221a2f..96b0f6b92c 100644 --- a/rust/src/filecontainer.rs +++ b/rust/src/filecontainer.rs @@ -54,12 +54,6 @@ pub struct FileContainer { tail: * mut c_void, } -impl Drop for FileContainer { - fn drop(&mut self) { - self.free(); - } -} - impl Default for FileContainer { fn default() -> Self { Self { head: ptr::null_mut(),