Fix memory leak (by deallocating the file buffer)

This commit is contained in:
techmetx11 2024-04-21 13:13:25 +01:00
parent acbd08d5a6
commit d93b1ba186
No known key found for this signature in database
GPG key ID: 20E0C88A0E7E5AF2

View file

@ -895,5 +895,6 @@ bool DivEngine::loadTFMv2(unsigned char* file, size_t len) {
lastError="invalid info header!";
}
delete[] file;
return success;
}