aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormj-xmr <mjxmr@protonmail.com>2021-08-16 13:01:00 +0200
committermj-xmr <mjxmr@protonmail.com>2021-09-08 16:19:26 +0200
commit56589ddab8bdb5460cad1adea9d225419d76ecb2 (patch)
treed97356832cf803c31ef8ab8b8f727ad8aa6c5816
parentMerge pull request #7902 (diff)
downloadmonero-56589ddab8bdb5460cad1adea9d225419d76ecb2.tar.xz
UB: virtual methods in destructor at Trezor
-rw-r--r--src/device_trezor/device_trezor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/device_trezor/device_trezor.cpp b/src/device_trezor/device_trezor.cpp
index 7c3e8785d..08f0dbb64 100644
--- a/src/device_trezor/device_trezor.cpp
+++ b/src/device_trezor/device_trezor.cpp
@@ -64,8 +64,8 @@ namespace trezor {
device_trezor::~device_trezor() {
try {
- disconnect();
- release();
+ device_trezor::disconnect();
+ device_trezor::release();
} catch(std::exception const& e){
MWARNING("Could not disconnect and release: " << e.what());
}