Skip to content

Commit

Permalink
Update rust/plugin_wasm_test_motion_full/src/lib.rs
Browse files Browse the repository at this point in the history
Co-authored-by: hkrn <[email protected]>
  • Loading branch information
noname0310 and hkrn authored Aug 17, 2024
1 parent 65747f6 commit 598b5fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rust/plugin_wasm_test_motion_full/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -785,7 +785,7 @@ pub unsafe extern "C" fn nanoemApplicationPluginMotionIODestroy(
.unwrap()
);
if !plugin.is_null() {
let _ = Box::from_raw(plugin);
let _ = unsafe { Box::from_raw(plugin) };
}
}

Expand Down

0 comments on commit 598b5fa

Please sign in to comment.