Commit d7055b61 authored by Stefan Seyfried's avatar Stefan Seyfried

AACDecoder_FreeBuffers: fix free of *m_pce

It was allocated in one 16x chunk, so only freeing one chunk is enough
parent 6bf4cd37
......@@ -1764,7 +1764,7 @@ void AACDecoder_FreeBuffers(void) {
if(m_AACDecInfo) {free(m_AACDecInfo); m_AACDecInfo=NULL;}
if(m_PSInfoBase) {free(m_PSInfoBase); m_PSInfoBase=NULL;}
if(m_pce[0]) {for(int i=0; i<16; i++) free(m_pce[i]); m_pce[0]=NULL;}
if(m_pce[0]) {free(m_pce[0]); m_pce[0]=NULL;}
#ifdef AAC_ENABLE_SBR
if(m_PSInfoSBR) {free(m_PSInfoSBR); m_PSInfoSBR=NULL;} //Clear AACDecInfo
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment