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

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

Merge "Fix potential leak" into klp-dev

am: 2f9eacc3

Change-Id: I7e3a53be249eff99dd895e500f9833ad55a184b0
parents 60657857 2f9eacc3
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2287,6 +2287,7 @@ status_t MPEG4Extractor::parseMetaData(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);