mirror of
https://github.com/monero-project/monero.git
synced 2024-12-23 12:09:54 +00:00
commit
56ce7fca6f
1 changed files with 1 additions and 1 deletions
|
@ -510,7 +510,7 @@ namespace trezor {
|
|||
|
||||
const auto data_cleaner = epee::misc_utils::create_scope_leave_handler([&]() {
|
||||
if (m.has_passphrase())
|
||||
memwipe(&(m.mutable_passphrase())[0], m.mutable_passphrase()->size());
|
||||
memwipe(&(*m.mutable_passphrase())[0], m.mutable_passphrase()->size());
|
||||
});
|
||||
|
||||
resp = call_raw(&m);
|
||||
|
|
Loading…
Reference in a new issue