Skip to content

Commit

Permalink
Update rust/plugin_wasm_test_motion_minimum/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 598b5fa commit 185a890
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rust/plugin_wasm_test_motion_minimum/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,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 185a890

Please sign in to comment.