OCD plus fixed a leak.
This commit is contained in:
1 parent
7111fa4d4f
commit
3fc2ec1382
5 files changed
+33
-14
No files matched your search
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user