1
0
mirror of https://github.com/mstorsjo/fdk-aac.git synced 2025-01-07 13:22:24 +01:00

Fix CpePersistentData memory leak.

Bug: 131430997
Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc
Change-Id: Iee5c93d61088bbda2328099ad20413adae3fa09b
This commit is contained in:
Fraunhofer IIS FDK 2019-08-09 17:06:59 +02:00 committed by Jean-Michel Trivi
parent 128abf6b1a
commit f26eb8af7c

View File

@ -1303,7 +1303,8 @@ static void CAacDecoder_DeInit(HANDLE_AACDECODER self,
const int subStreamIndex) {
int ch;
int aacChannelOffset = 0, aacChannels = (8);
int numElements = (((8)) + (8)), elementOffset = 0;
int numElements = (3 * ((8) * 2) + (((8) * 2)) / 2 + 4 * (1) + 1),
elementOffset = 0;
if (self == NULL) return;