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

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

Merge "Fix potential leak" into klp-dev am: 2f9eacc3 am: a7602f83

am: fe7c2700

Change-Id: I9c4c5dbe0682992f9e7521ed3bf6a52d8311e00f
parents a2fbd251 fe7c2700
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2484,6 +2484,7 @@ status_t MPEG4Extractor::parseITunesMetaData(off64_t offset, size_t size) {
                    if (sscanf(mLastCommentData,
                               " %*x %x %x %*x", &delay, &padding) == 2) {
                        if (mLastTrack == NULL) {
                            delete[] buffer;
                            return ERROR_MALFORMED;
                        }
                        mLastTrack->meta->setInt32(kKeyEncoderDelay, delay);