Skip to content
Browse files

Merge pull request #1998 from neo1973/AudioEngine

[AE] fix: Mismatching allocation and deallocation of buff
  • Loading branch information...
2 parents a15424b + 806156a commit c0320c21613b279ef1df3ce2917aedaa9806c5b6 @davilla davilla committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 xbmc/cores/AudioEngine/Engines/CoreAudio/CoreAudioDevice.cpp
View
2 xbmc/cores/AudioEngine/Engines/CoreAudio/CoreAudioDevice.cpp
@@ -251,7 +251,7 @@ std::string CCoreAudioDevice::GetName()
{
name = buff;
}
- delete buff;
+ delete[] buff;
return name;

0 comments on commit c0320c2

Please sign in to comment.
Something went wrong with that request. Please try again.