From 50be65bf4314d9b3c5888f5f02d6ffae504aae7a Mon Sep 17 00:00:00 2001 From: qarmin Date: Sun, 22 Sep 2019 18:45:08 +0200 Subject: Changed some code found by Clang Tidy and Coverity --- core/crypto/hashing_context.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/crypto') diff --git a/core/crypto/hashing_context.cpp b/core/crypto/hashing_context.cpp index bdccb258dd..bd863f546b 100644 --- a/core/crypto/hashing_context.cpp +++ b/core/crypto/hashing_context.cpp @@ -103,7 +103,7 @@ void HashingContext::_create_ctx(HashType p_type) { } void HashingContext::_delete_ctx() { - return; + switch (type) { case HASH_MD5: memdelete((CryptoCore::MD5Context *)ctx); -- cgit v1.2.3