diff options
| author | Mason Reed <mason@vector35.com> | 2025-05-04 15:38:54 -0400 |
|---|---|---|
| committer | Mason Reed <35282038+emesare@users.noreply.github.com> | 2025-05-12 17:45:24 -0400 |
| commit | e180c955f9397849bdb1ea08f1e913ebac71ed5d (patch) | |
| tree | a6c8e309e3a723c04e2d5085c0449bd8f3a10db5 /rust/src/update.rs | |
| parent | bb68ef5ad6c3e6a391bc884763231ed3291a5f9e (diff) | |
[Rust] More cleanup
Diffstat (limited to 'rust/src/update.rs')
| -rw-r--r-- | rust/src/update.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/rust/src/update.rs b/rust/src/update.rs index 9afb1218..aa8c7daf 100644 --- a/rust/src/update.rs +++ b/rust/src/update.rs @@ -75,9 +75,9 @@ impl UpdateChannel { } pub(crate) fn free_raw(value: BNUpdateChannel) { - let _ = unsafe { BnString::from_raw(value.name) }; - let _ = unsafe { BnString::from_raw(value.description) }; - let _ = unsafe { BnString::from_raw(value.latestVersion) }; + unsafe { BnString::free_raw(value.name) }; + unsafe { BnString::free_raw(value.description) }; + unsafe { BnString::free_raw(value.latestVersion) }; } pub fn all() -> Result<Array<UpdateChannel>, BnString> { |
