Fix hashing memory leak

This commit is contained in:
Tixx
2025-01-17 14:40:27 +01:00
parent 6a2ee052ba
commit 4f2ef3c3a7

View File

@@ -121,6 +121,8 @@ void TResourceManager::RefreshFiles() {
}
EVP_MD_CTX_free(mdctx);
stream.close();
std::string result;
for (size_t i = 0; i < sha256_len; i++) {
result += fmt::format("{:02x}", sha256_value[i]);