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

Commit b4d217ed authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Remove null-ptr deref compiler warning."

parents 853f568b f303d743
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -989,7 +989,9 @@ status_t MPEG4Extractor::parseChunk(off64_t *offset, int depth) {
                        while (cur && cur->next != mLastTrack) {
                            cur = cur->next;
                        }
                        if (cur) {
                            cur->next = NULL;
                        }
                        delete mLastTrack;
                        mLastTrack = cur;
                    }