Skip to content
This repository
Browse code

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 authored December 28, 2012
2  xbmc/cores/AudioEngine/Engines/CoreAudio/CoreAudioDevice.cpp
@@ -251,7 +251,7 @@ std::string CCoreAudioDevice::GetName()
251 251
   {
252 252
     name = buff;
253 253
   }
254  
-  delete buff;
  254
+  delete[] buff;
255 255
 
256 256
 
257 257
   return name;

0 notes on commit c0320c2

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