From 8011e21a93f8e44e58da069c7444342d85f03b1f Mon Sep 17 00:00:00 2001 From: Mason Reed Date: Sun, 22 Jun 2025 19:04:38 -0400 Subject: [Rust] Make `BnString::free_raw` Needed this for the WARP FFI --- rust/src/string.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rust/src') diff --git a/rust/src/string.rs b/rust/src/string.rs index 9092d163..c7d541ce 100644 --- a/rust/src/string.rs +++ b/rust/src/string.rs @@ -86,7 +86,7 @@ impl BnString { } /// Free a raw string allocated by [`BNAllocString`]. - pub(crate) unsafe fn free_raw(raw: *mut c_char) { + pub unsafe fn free_raw(raw: *mut c_char) { if !raw.is_null() { BNFreeString(raw); } -- cgit v1.3.1