Skip to content

Commit 60610ed

Browse files
committed
fix: free error message in test_managed_account_collection_null_safety
1 parent e9d9af2 commit 60610ed

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

key-wallet-ffi/tests/test_managed_account_collection.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -403,6 +403,7 @@ fn test_managed_account_collection_null_safety() {
403403
managed_wallet_get_account_collection(ptr::null(), ptr::null(), &mut error);
404404
assert!(collection.is_null());
405405
assert_eq!(error.code, FFIErrorCode::InvalidInput);
406+
error.free_message();
406407

407408
// Test with null collection for various functions
408409
assert_eq!(managed_account_collection_count(ptr::null()), 0);

0 commit comments

Comments
 (0)