summaryrefslogtreecommitdiff
path: root/rust/src
diff options
context:
space:
mode:
Diffstat (limited to 'rust/src')
-rw-r--r--rust/src/platform.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/rust/src/platform.rs b/rust/src/platform.rs
index 875069c1..bc5cb9f1 100644
--- a/rust/src/platform.rs
+++ b/rust/src/platform.rs
@@ -296,7 +296,6 @@ impl TypeParser for Platform {
);
let error_msg = BnString::from_raw(error_string);
- BNFreeString(error_string);
if !success {
return Err(error_msg.to_string());