Add __autoreleasing to NSError

This commit is contained in:
Damiano Galassi committed 2017-10-09 12:34:55 +02:00
1 parent 1f26adec8f
commit f0f7a0704b
39 files changed
+44 -44

No files matched your search

+1 -1
View File
@@ -102,7 +102,7 @@
return self;
}
- (BOOL)writeToFile:(MP4FileHandle)fileHandle error:(NSError **)outError __attribute__((no_sanitize("float-cast-overflow")))
- (BOOL)writeToFile:(MP4FileHandle)fileHandle error:(NSError * __autoreleasing *)outError __attribute__((no_sanitize("float-cast-overflow")))
{
if (!fileHandle || !self.trackId || ![super writeToFile:fileHandle error:outError]) {
if (outError != NULL) {