Skip to content

Commit

Permalink
Update rust/plugin_wasm_test_model_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 16bf116 commit 65747f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rust/plugin_wasm_test_model_minimum/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ pub unsafe extern "C" fn nanoemApplicationPluginModelIODestroy(
.unwrap()
);
if !plugin.is_null() {
let _ = Box::from_raw(plugin);
let _ = unsafe { Box::from_raw(plugin) };
}
}

Expand Down

0 comments on commit 65747f6

Please sign in to comment.