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

Commit 112af391 authored by Marco Nelissen's avatar Marco Nelissen Committed by android-build-merger
Browse files

Merge "Fix tiny memory leak"

am: 84f7e6ac

Change-Id: Ie060723c5336dd166c3cbdf4d19ede7f7bbab3f2
parents 467023e4 84f7e6ac
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;
        }