aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
Diffstat (limited to 'scumm')
-rw-r--r--scumm/sound.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/sound.cpp b/scumm/sound.cpp
index b54d8be1d0..84f83a7d8a 100644
--- a/scumm/sound.cpp
+++ b/scumm/sound.cpp
@@ -1247,7 +1247,7 @@ int Sound::playBundleSound(char *sound) {
if (size < 0) {
warning("Decompression sound failed (no size field)");
- free(ptr);
+ free(orig_ptr);
return -1;
}