We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f9b9076 commit 80cc00bCopy full SHA for 80cc00b
1 file changed
key-wallet-ffi/tests/test_import_wallet.rs
@@ -4,6 +4,7 @@
4
#[cfg(test)]
5
mod tests {
6
use key_wallet_ffi::error::{FFIError, FFIErrorCode};
7
+ use key_wallet_ffi::wallet::wallet_free_const;
8
use key_wallet_ffi::wallet_manager::*;
9
use key_wallet_ffi::FFINetwork;
10
use std::os::raw::c_char;
@@ -66,6 +67,8 @@ mod tests {
66
67
assert_eq!(error.code, FFIErrorCode::InvalidInput);
68
69
// Clean up
70
+ error.free_message();
71
+ wallet_free_const(wallet_ptr);
72
wallet_manager_free_wallet_ids(wallet_ids_ptr, count);
73
wallet_manager_free(manager);
74
wallet_manager_free(manager2);
0 commit comments