Skip to content

Fix a new beta clippy warning

Sebastian Dröge requested to merge slomo/gstreamer-rs:clippy-warnings into main

warning: unused return value of std::boxed::Box::<T>::from_raw that must be used --> gstreamer-rtsp-server/src/rtsp_session_pool.rs:23:5 | 23 | Box::::from_raw(ptr as *mut _); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: #[warn(unused_must_use)] on by default = note: call drop(from_raw(ptr)) if you intend to drop the Box

Merge request reports

Loading