OCD plus fixed a leak.

This commit is contained in:
Damiano Galassi committed 2014-11-07 18:37:49 +01:00
1 parent 7111fa4d4f
commit 3fc2ec1382
5 files changed
+33 -14

No files matched your search

+3 -4
View File
@@ -96,10 +96,9 @@
- (void)reloadFile:(NSURL *)absoluteURL
{
if (absoluteURL) {
MP42File *newFile = [[MP42File alloc] initWithExistingFile:absoluteURL andDelegate:self];
if (newFile) {
self.mp4 = newFile;
[newFile release];
self.mp4 = [[[MP42File alloc] initWithExistingFile:absoluteURL andDelegate:self] autorelease];
if (self.mp4) {
[fileTracksTable reloadData];
[self tableViewSelectionDidChange:nil];
} else {