aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2014-04-26 17:34:24 +0300
committerEugene Sandulenko2014-04-26 17:34:24 +0300
commitecdda5acdf919abe9c6803f8db470505fe425a20 (patch)
tree5b835a0389ae1642d701d45e4cd5b3a141a90208
parent452f939cbabd6680b0be6a3d3f6e393cb43939d5 (diff)
downloadscummvm-rg350-ecdda5acdf919abe9c6803f8db470505fe425a20.tar.gz
scummvm-rg350-ecdda5acdf919abe9c6803f8db470505fe425a20.tar.bz2
scummvm-rg350-ecdda5acdf919abe9c6803f8db470505fe425a20.zip
FULLPIPE: Implement Sound() destructor
-rw-r--r--engines/fullpipe/sound.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/fullpipe/sound.cpp b/engines/fullpipe/sound.cpp
index 10ae376a32..294be17e9d 100644
--- a/engines/fullpipe/sound.cpp
+++ b/engines/fullpipe/sound.cpp
@@ -85,7 +85,9 @@ Sound::Sound() {
}
Sound::~Sound() {
- warning("STUB: Sound::~Sound()");
+ freeSound();
+
+ free(_description);
}
bool Sound::load(MfcArchive &file, NGIArchive *archive) {