diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/sci/resource_audio.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/engines/sci/resource_audio.cpp b/engines/sci/resource_audio.cpp index bd6eee3cca..f17a684cc9 100644 --- a/engines/sci/resource_audio.cpp +++ b/engines/sci/resource_audio.cpp @@ -987,9 +987,6 @@ void ResourceManager::changeAudioDirectory(const Common::String &path) { if (resource->_status == kResStatusEnqueued) { removeFromLRU(resource); } - if (resource->_status != kResStatusNoMalloc) { - resource->unalloc(); - } delete resource; _resMap.erase(resIt); } |