Fix memory leak (by deallocating the file buffer)
This commit is contained in:
parent
acbd08d5a6
commit
d93b1ba186
|
@ -895,5 +895,6 @@ bool DivEngine::loadTFMv2(unsigned char* file, size_t len) {
|
|||
lastError="invalid info header!";
|
||||
}
|
||||
|
||||
delete[] file;
|
||||
return success;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue