diff options
author | Johannes Schickel | 2010-08-02 22:27:26 +0000 |
---|---|---|
committer | Johannes Schickel | 2010-08-02 22:27:26 +0000 |
commit | dd38e424e7ec87990019f4a811fdc25c62fe1729 (patch) | |
tree | a5835355d6e56db73a2680e5c8aecb0b9d3f2ad8 /engines/sci/resource.cpp | |
parent | a1001731fa50c730dcf834b724edfb89a8352298 (diff) | |
download | scummvm-rg350-dd38e424e7ec87990019f4a811fdc25c62fe1729.tar.gz scummvm-rg350-dd38e424e7ec87990019f4a811fdc25c62fe1729.tar.bz2 scummvm-rg350-dd38e424e7ec87990019f4a811fdc25c62fe1729.zip |
SCI: Fix leaks in ResourceManager::listResources caller code.
svn-id: r51666
Diffstat (limited to 'engines/sci/resource.cpp')
-rw-r--r-- | engines/sci/resource.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/sci/resource.cpp b/engines/sci/resource.cpp index 2fdf091314..d59b21eef6 100644 --- a/engines/sci/resource.cpp +++ b/engines/sci/resource.cpp @@ -665,6 +665,7 @@ int ResourceManager::addInternalSources() { ++itr; } + delete resources; return 1; } |