diff options
author | Nicola Mettifogo | 2008-06-22 14:31:45 +0000 |
---|---|---|
committer | Nicola Mettifogo | 2008-06-22 14:31:45 +0000 |
commit | 4e2e46f16cd6480edc3509edfe4b49bde0268756 (patch) | |
tree | 3819b98bb4d61017ba755bd67570ebc3db1ddca9 /engines/parallaction | |
parent | d2ce91298958e3e2ca98577d27ca630e06314cb7 (diff) | |
download | scummvm-rg350-4e2e46f16cd6480edc3509edfe4b49bde0268756.tar.gz scummvm-rg350-4e2e46f16cd6480edc3509edfe4b49bde0268756.tar.bz2 scummvm-rg350-4e2e46f16cd6480edc3509edfe4b49bde0268756.zip |
Fixed leak when loading sounds for Amiga version of Nippon Safes.
svn-id: r32756
Diffstat (limited to 'engines/parallaction')
-rw-r--r-- | engines/parallaction/disk_ns.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/engines/parallaction/disk_ns.cpp b/engines/parallaction/disk_ns.cpp index cdbe3458a7..8f4f6d8e20 100644 --- a/engines/parallaction/disk_ns.cpp +++ b/engines/parallaction/disk_ns.cpp @@ -1395,9 +1395,7 @@ Common::ReadStream* AmigaDisk_ns::loadSound(const char* name) { char path[PATH_LEN]; sprintf(path, "%s.snd", name); - openArchivedFile(path); - - return new DummyArchiveStream(_resArchive); + return openArchivedFile(path); } } // namespace Parallaction |