aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/gob/game.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/gob/game.cpp b/engines/gob/game.cpp
index c74f4b587d..5d1f3d4c8c 100644
--- a/engines/gob/game.cpp
+++ b/engines/gob/game.cpp
@@ -360,7 +360,7 @@ void Game::freeSoundSlot(int16 slot) {
_soundFromExt[slot] = 0;
}
- delete _soundSamples;
+ delete _soundSamples[slot];
} else {
char* data = _soundSamples[slot]->data;