summaryrefslogtreecommitdiffhomepage
path: root/nGenEx/Sound.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'nGenEx/Sound.cpp')
-rw-r--r--nGenEx/Sound.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/nGenEx/Sound.cpp b/nGenEx/Sound.cpp
index 49fdb65..8de0350 100644
--- a/nGenEx/Sound.cpp
+++ b/nGenEx/Sound.cpp
@@ -113,7 +113,7 @@ Sound::CreateStream(const char* filename)
break;
default:
- delete buf;
+ delete[] buf;
return sound;
}
}