Fixed leak when loading sounds for Amiga version of Nippon Safes.

svn-id: r32756
This commit is contained in:
Nicola Mettifogo 2008-06-22 14:31:45 +00:00
parent d2ce912989
commit 4e2e46f16c

View File

@ -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