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

Commit 60a16051 authored by Marco Nelissen's avatar Marco Nelissen Committed by android-build-merger
Browse files

Merge "Fix potential leak" into mnc-dev am: 167af356 am: 39336ac8 am:...

Merge "Fix potential leak" into mnc-dev am: 167af356 am: 39336ac8 am: 1adfafdf am: 781d2a75 am: 8c96e871 am: 015ed4cd am: 03c4e00b
am: d2972602

Change-Id: I9cbf69f1fa4a7a1f916a1246bdea1361523a4d1b
parents af8e0b2c d2972602
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -2826,8 +2826,10 @@ status_t MPEG4Extractor::parseITunesMetaData(off64_t offset, size_t size) {
                    int32_t delay, padding;
                    if (sscanf(mLastCommentData,
                               " %*x %x %x %*x", &delay, &padding) == 2) {
                        if (mLastTrack == NULL)
                        if (mLastTrack == NULL) {
                            delete[] buffer;
                            return ERROR_MALFORMED;
                        }

                        mLastTrack->meta->setInt32(kKeyEncoderDelay, delay);
                        mLastTrack->meta->setInt32(kKeyEncoderPadding, padding);