Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #1998 from neo1973/AudioEngine

[AE] fix: Mismatching allocation and deallocation of buff
  • Loading branch information...
commit c0320c21613b279ef1df3ce2917aedaa9806c5b6 2 parents a15424b + 806156a
@davilla davilla authored
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;
Please sign in to comment.
Something went wrong with that request. Please try again.