From 66747df8fff706aee000d3860a92db36450d52b1 Mon Sep 17 00:00:00 2001 From: Josh Watson Date: Sun, 21 Mar 2021 15:06:29 -0700 Subject: Remove BNFreeString call --- rust/src/platform.rs | 1 - 1 file changed, 1 deletion(-) (limited to 'rust/src') 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()); -- cgit v1.3.1