Move some files to ARC.

This commit is contained in:
Damiano Galassi committed 2017-09-29 14:00:38 +02:00
1 parent 44a8f8d14e
commit ea5fc13f87
15 files changed
+112 -263

No files matched your search

-5
View File
@@ -332,7 +332,6 @@ static bool GetFirstHeader(FILE* inFile)
[newTrack setDataLength:[[[[NSFileManager defaultManager] attributesOfItemAtPath:self.fileURL.path error:nil] valueForKey:NSFileSize] unsignedLongLongValue]];
[self addTrack:newTrack];
[newTrack release];
}
return self;
@@ -382,7 +381,6 @@ static bool GetFirstHeader(FILE* inFile)
sample->trackId = trackId;
[self enqueue:sample];
[sample release];
sampleId++;
@@ -403,10 +401,7 @@ static bool GetFirstHeader(FILE* inFile)
- (void) dealloc
{
[ac3Info release];
fclose(inFile);
[super dealloc];
}
@end