summaryrefslogtreecommitdiff
path: root/core/crypto/hashing_context.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/crypto/hashing_context.cpp')
-rw-r--r--core/crypto/hashing_context.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/crypto/hashing_context.cpp b/core/crypto/hashing_context.cpp
index 726dc615df..fb0dadfbab 100644
--- a/core/crypto/hashing_context.cpp
+++ b/core/crypto/hashing_context.cpp
@@ -128,6 +128,7 @@ void HashingContext::_bind_methods() {
}
HashingContext::~HashingContext() {
- if (ctx != nullptr)
+ if (ctx != nullptr) {
_delete_ctx();
+ }
}