summaryrefslogtreecommitdiff
path: root/rust/src/update.rs
diff options
context:
space:
mode:
Diffstat (limited to 'rust/src/update.rs')
-rw-r--r--rust/src/update.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/rust/src/update.rs b/rust/src/update.rs
index 2a22c9c9..9afb1218 100644
--- a/rust/src/update.rs
+++ b/rust/src/update.rs
@@ -242,8 +242,8 @@ impl UpdateVersion {
}
pub(crate) fn free_raw(value: BNUpdateVersion) {
- let _ = unsafe { BnString::from_raw(value.version) };
- let _ = unsafe { BnString::from_raw(value.notes) };
+ unsafe { BnString::free_raw(value.version) };
+ unsafe { BnString::free_raw(value.notes) };
}
}