diff options
author | davilla <davilla@xbmc.org> | 2012-12-28 05:57:34 -0800 |
---|---|---|
committer | davilla <davilla@xbmc.org> | 2012-12-28 05:57:34 -0800 |
commit | c0320c21613b279ef1df3ce2917aedaa9806c5b6 (patch) | |
tree | 82469f82f2b2f4fdbe40424810b50de8e09afc41 | |
parent | a15424bd23bd38f19fb96e050496343b232bb46b (diff) | |
parent | 806156a7f516058552972047bb63278d0a5c3a34 (diff) |
Merge pull request #1998 from neo1973/AudioEngine
[AE] fix: Mismatching allocation and deallocation of buff
-rw-r--r-- | xbmc/cores/AudioEngine/Engines/CoreAudio/CoreAudioDevice.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xbmc/cores/AudioEngine/Engines/CoreAudio/CoreAudioDevice.cpp b/xbmc/cores/AudioEngine/Engines/CoreAudio/CoreAudioDevice.cpp index 1a0a699357..be1300052f 100644 --- a/xbmc/cores/AudioEngine/Engines/CoreAudio/CoreAudioDevice.cpp +++ b/xbmc/cores/AudioEngine/Engines/CoreAudio/CoreAudioDevice.cpp @@ -251,7 +251,7 @@ std::string CCoreAudioDevice::GetName() { name = buff; } - delete buff; + delete[] buff; return name; |