File tree Expand file tree Collapse file tree 3 files changed +3
-7
lines changed Expand file tree Collapse file tree 3 files changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -63,11 +63,7 @@ fn main() {
6363 // Make a symlink "libbinaryninjacore.so" pointing to "libbinaryninjacore.so.1"
6464 if symlink_target. exists ( ) && symlink_source. symlink_metadata ( ) . is_err ( ) {
6565 use std:: os:: unix:: fs;
66- fs:: symlink (
67- symlink_target,
68- symlink_source,
69- )
70- . expect ( "failed to create required symlink" ) ;
66+ fs:: symlink ( symlink_target, symlink_source) . expect ( "failed to create required symlink" ) ;
7167 }
7268 println ! ( "cargo:rustc-link-search={}" , out_dir) ;
7369 }
Original file line number Diff line number Diff line change @@ -254,7 +254,7 @@ impl InstructionTextToken {
254254 kind,
255255 }
256256 }
257-
257+
258258 pub ( crate ) unsafe fn free_raw ( raw : BNInstructionTextToken ) {
259259 if !raw. text . is_null ( ) {
260260 BNFreeString ( raw. text ) ;
Original file line number Diff line number Diff line change @@ -594,7 +594,7 @@ impl From<TypeDefinitionLine> for BNTypeDefinitionLine {
594594 // NOTE: This is leaking tokens. Must free with `cb_free_lines`.
595595 tokens : Box :: leak ( tokens) . as_mut_ptr ( ) ,
596596 // NOTE: This is leaking a ref to ty. Must free with `cb_free_lines`.
597- type_ : unsafe { BNNewTypeReference ( value. ty . handle ) } ,
597+ type_ : unsafe { BNNewTypeReference ( value. ty . handle ) } ,
598598 // NOTE: This is leaking a ref to parent_type. Must free with `cb_free_lines`.
599599 parentType : value
600600 . parent_type
You can’t perform that action at this time.
0 commit comments