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

Commit 06524dcc authored by Marco Nelissen's avatar Marco Nelissen
Browse files

Fix memory leak

Change-Id: Id691f9b32f9daeb23a01b17c5418b4d74a294cda
parent fd523efc
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -484,6 +484,7 @@ static status_t decode(int fd, int64_t offset, int64_t length,
    status_t err = AMediaExtractor_setDataSourceFd(ex, fd, offset, length);

    if (err != AMEDIA_OK) {
        AMediaExtractor_delete(ex);
        return err;
    }