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

Commit f438bdce authored by Marco Nelissen's avatar Marco Nelissen
Browse files

Fix tiny memory leak

Bug: 36103283
Change-Id: Ib33905fc64b997da80b4b26346db7c531ff8bb8e
parent 5a6046f0
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -3005,6 +3005,8 @@ status_t MPEG4Extractor::parse3GPPMetaData(off64_t offset, size_t size, int dept

        // smallest possible valid UTF-16 string w BOM: 0xfe 0xff 0x00 0x00
        if (size < 6) {
            delete[] buffer;
            buffer = NULL;
            return ERROR_MALFORMED;
        }