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

Commit 27d3bad9 authored by Ray Essick's avatar Ray Essick
Browse files

Reclaim allocations on AACExtractor destructor

Bug: 142731632
Test: n
parent 4ab19289
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);
    }