mirror of
https://github.com/libretro/scummvm.git
synced 2025-04-02 06:41:51 +00:00
Initialise _resList to avoid crash (from freeing an invalid pointer) if the
data files are missing. svn-id: r22520
This commit is contained in:
parent
9e3b78e1e9
commit
6b90c405e8
@ -64,6 +64,7 @@ ResourceManager::ResourceManager(Sword2Engine *vm) {
|
||||
_vm = vm;
|
||||
|
||||
_totalClusters = 0;
|
||||
_resList = NULL;
|
||||
_resConvTable = NULL;
|
||||
_cacheStart = NULL;
|
||||
_cacheEnd = NULL;
|
||||
|
Loading…
x
Reference in New Issue
Block a user