summaryrefslogtreecommitdiffhomepage
path: root/nGenEx/Sound.cpp
diff options
context:
space:
mode:
authorFWoltermann@gmail.com <FWoltermann@gmail.com@076cb2c4-205e-83fd-5cf3-1be9aa105544>2011-12-09 15:53:56 +0000
committerFWoltermann@gmail.com <FWoltermann@gmail.com@076cb2c4-205e-83fd-5cf3-1be9aa105544>2011-12-09 15:53:56 +0000
commitf71c8f59f2c16747ae91dac142a679fec9690893 (patch)
tree32d7812007b7078e185d94b58d04d6e84437118c /nGenEx/Sound.cpp
parentd489095bcdf9603053ebd514588093a991605ffb (diff)
downloadstarshatter-f71c8f59f2c16747ae91dac142a679fec9690893.zip
starshatter-f71c8f59f2c16747ae91dac142a679fec9690893.tar.gz
starshatter-f71c8f59f2c16747ae91dac142a679fec9690893.tar.bz2
A few things that MSVC's analyzer found
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 b8e502a..ee19a50 100644
--- a/nGenEx/Sound.cpp
+++ b/nGenEx/Sound.cpp
@@ -136,7 +136,7 @@ Sound::CreateStream(const char* filename)
}
}
- delete buf;
+ delete[] buf;
return sound;
}