Skip to content
Browse files

[AE/CA] - cosmetics - davilla told me if i do it that way i might end…

… up beeing perfect. :D
  • Loading branch information...
1 parent 11652c5 commit 9386cc7d1a8a65dafe65dbefb5f515505da22f56 @Memphiz Memphiz committed Jul 31, 2012
Showing with 5 additions and 10 deletions.
  1. +5 −10 xbmc/cores/AudioEngine/Engines/CoreAudio/CoreAudioAEStream.cpp
View
15 xbmc/cores/AudioEngine/Engines/CoreAudio/CoreAudioAEStream.cpp
@@ -144,17 +144,12 @@ CCoreAudioAEStream::~CCoreAudioAEStream()
InternalFlush();
- _aligned_free(m_convertBuffer);
- //_aligned_free(m_resampleBuffer);
- _aligned_free(m_remapBuffer);
- _aligned_free(m_vizRemapBuffer);
+ _aligned_free(m_convertBuffer); m_convertBuffer = NULL;
+ //_aligned_free(m_resampleBuffer); m_resampleBuffer = NULL;
+ _aligned_free(m_remapBuffer); m_remapBuffer = NULL;
+ _aligned_free(m_vizRemapBuffer); m_vizRemapBuffer = NULL;
- delete m_Buffer;
-
- m_convertBuffer = NULL;
- m_remapBuffer = NULL;
- m_vizRemapBuffer = NULL;
- m_Buffer = NULL;
+ delete m_Buffer; m_Buffer = NULL;
/*
if (m_resample)

0 comments on commit 9386cc7

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