From 03b1d6b74d13dd51a53d2531becb4137b96fa1ed Mon Sep 17 00:00:00 2001 From: "FWoltermann@gmail.com" Date: Sun, 27 May 2012 09:39:31 +0000 Subject: A few things MSVC's analyzer found. --- nGenEx/Sound.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nGenEx/Sound.cpp') 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; } } -- cgit v1.1