diff options
| author | Mason Reed <mason@vector35.com> | 2025-11-24 18:43:52 -0500 |
|---|---|---|
| committer | Mason Reed <mason@vector35.com> | 2025-12-15 17:26:10 -0500 |
| commit | 58cc21e4fae58cedd586497a220a0bbe285ef831 (patch) | |
| tree | b7e0263abbbf079e39f966d1d828593a458275d3 /plugins/warp/src/plugin/ffi/function.rs | |
| parent | 2a899b31320a5ebfba009961f47b8f53b4eadf02 (diff) | |
[WARP] Misc cleanup
Diffstat (limited to 'plugins/warp/src/plugin/ffi/function.rs')
| -rw-r--r-- | plugins/warp/src/plugin/ffi/function.rs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/plugins/warp/src/plugin/ffi/function.rs b/plugins/warp/src/plugin/ffi/function.rs index e3f6a079..138c0a7b 100644 --- a/plugins/warp/src/plugin/ffi/function.rs +++ b/plugins/warp/src/plugin/ffi/function.rs @@ -68,10 +68,7 @@ pub unsafe extern "C" fn BNWARPFunctionApply( false => { // Set the matched function to `function`. let matched_function = ManuallyDrop::new(Arc::from_raw(function)); - insert_cached_function_match( - &analysis_function, - Some(matched_function.as_ref().clone()), - ) + insert_cached_function_match(&analysis_function, Some(&matched_function)) } true => { // We are removing the previous match. |
