mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2025-07-01 15:26:59 +00:00
Fix hashing memory leak
This commit is contained in:
parent
6a2ee052ba
commit
4f2ef3c3a7
@ -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]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user