diff options
author | Matthew Hoops | 2011-07-02 19:37:46 -0400 |
---|---|---|
committer | Matthew Hoops | 2011-07-02 19:37:46 -0400 |
commit | 7c28d22ca01e3479532d06b5c4c8f3b9fe299ee4 (patch) | |
tree | a22bf31b6b1c73c1ce25355b866e1fb66926f087 /video | |
parent | 82ed30817d539486912a394222d32975b5db2c0a (diff) | |
download | scummvm-rg350-7c28d22ca01e3479532d06b5c4c8f3b9fe299ee4.tar.gz scummvm-rg350-7c28d22ca01e3479532d06b5c4c8f3b9fe299ee4.tar.bz2 scummvm-rg350-7c28d22ca01e3479532d06b5c4c8f3b9fe299ee4.zip |
VIDEO: Fix mismatched new[]/free
Diffstat (limited to 'video')
-rw-r--r-- | video/bink_decoder.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/video/bink_decoder.cpp b/video/bink_decoder.cpp index 5ed4011b61..e8d7adfd2f 100644 --- a/video/bink_decoder.cpp +++ b/video/bink_decoder.cpp @@ -243,7 +243,7 @@ void BinkDecoder::audioPacket(AudioTrack &audio) { int outSize = audio.frameLen * audio.channels; while (audio.bits->pos() < audio.bits->size()) { - int16 *out = new int16[outSize]; + int16 *out = (int16 *)malloc(outSize * 2); memset(out, 0, outSize * 2); audioBlock(audio, out); |