Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a37f84ec authored by Evgenii Stepanov's avatar Evgenii Stepanov Committed by Dan Albert
Browse files

Fix new[] vs delete mismatch.

Detected with AddressSanitizer.

Bug: 18202869
Change-Id: I7fa9ee722766968e33faa4d9312385ca303ca274
parent 7725022e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -75,7 +75,7 @@ SoftAAC2::SoftAAC2(

SoftAAC2::~SoftAAC2() {
    aacDecoder_Close(mAACDecoder);
    delete mOutputDelayRingBuffer;
    delete[] mOutputDelayRingBuffer;
}

void SoftAAC2::initPorts() {