diff --git a/crates/ironrdp-session/src/fast_path.rs b/crates/ironrdp-session/src/fast_path.rs index 1099715b3..739bf529d 100644 --- a/crates/ironrdp-session/src/fast_path.rs +++ b/crates/ironrdp-session/src/fast_path.rs @@ -431,9 +431,7 @@ impl CompleteData { Fragmentation::Last => { self.append_data(data); - let complete_data = self.fragmented_data.take().unwrap(); - - Some(complete_data) + self.fragmented_data.take() } } }