diff options
Diffstat (limited to 'engines/fullpipe')
-rw-r--r-- | engines/fullpipe/sound.cpp | 4 | ||||
-rw-r--r-- | engines/fullpipe/sound.h | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/engines/fullpipe/sound.cpp b/engines/fullpipe/sound.cpp index 15427c6644..c457d24f30 100644 --- a/engines/fullpipe/sound.cpp +++ b/engines/fullpipe/sound.cpp @@ -43,6 +43,10 @@ SoundList::SoundList() { _libHandle = 0; } +SoundList::~SoundList() { + free(_soundItems); +} + bool SoundList::load(MfcArchive &file, char *fname) { debugC(5, kDebugLoading, "SoundList::load()"); diff --git a/engines/fullpipe/sound.h b/engines/fullpipe/sound.h index 983f28312b..4066c5e99e 100644 --- a/engines/fullpipe/sound.h +++ b/engines/fullpipe/sound.h @@ -67,6 +67,7 @@ class SoundList : public CObject { public: SoundList(); + ~SoundList(); virtual bool load(MfcArchive &file, char *fname); virtual bool load(MfcArchive &file) { assert(0); return false; } // Disable base class bool loadFile(const char *fname, char *libname); |