aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormj-xmr <mjxmr@protonmail.com>2021-08-16 11:45:39 +0200
committermj-xmr <mjxmr@protonmail.com>2021-09-08 14:44:35 +0200
commitad9fde46a32587aaeee15a2142a74b3d85a3f636 (patch)
treef44566e8bfc3b1049c9ec915f3a58eb65d746beb /src
parentMerge pull request #7893 (diff)
downloadmonero-ad9fde46a32587aaeee15a2142a74b3d85a3f636.tar.xz
UB: virtual methods in destructor at Trezor
Diffstat (limited to 'src')
-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 c2070b0d1..be65e0c36 100644
--- a/src/device_trezor/device_trezor.cpp
+++ b/src/device_trezor/device_trezor.cpp
@@ -66,8 +66,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());
}