Fix some leaks.

This commit is contained in:
Damiano Galassi committed 2020-09-23 21:18:24 +02:00
1 parent a190617dc4
commit c8ff6a8a15
5 files changed
+44 -21

No files matched your search

-3
View File
@@ -187,9 +187,6 @@ MP42_OBJC_DIRECT_MEMBERS
uint32_t i = 0;
uint64_t sum = 0, moovDuration;
// get the list of chapters
MP4GetChapters(fileHandle, &fileChapters, &chapterCount, MP4ChapterTypeQt);
MP4DeleteChapters(fileHandle, MP4ChapterTypeAny, self.trackId);
updateTracksCount(fileHandle);