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

Commit c161e758 authored by Ray Essick's avatar Ray Essick Committed by Android (Google) Code Review
Browse files

Merge "Reclaim allocations on AACExtractor destructor" into rvc-dev

parents bc9c9b7b 27d3bad9
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -181,6 +181,8 @@ AACExtractor::AACExtractor(
}

AACExtractor::~AACExtractor() {
    mOffsetVector.clear();
    delete mDataSource;
    if (mMeta != nullptr) {
        AMediaFormat_delete(mMeta);
    }