summaryrefslogtreecommitdiff
path: root/rust/src/platform.rs
diff options
context:
space:
mode:
authorJosh Watson <josh@joshwatson.com>2021-03-21 15:06:29 -0700
committerKyle Martin <krm504@nyu.edu>2021-03-22 13:04:43 -0400
commit66747df8fff706aee000d3860a92db36450d52b1 (patch)
tree1580239208757940c06da84b49b3ed426fe1f584 /rust/src/platform.rs
parent7acc36513c72b84d595d205771b883d67191ef39 (diff)
Remove BNFreeString call
Diffstat (limited to 'rust/src/platform.rs')
-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());