[vlc-commits] macosx: remove unneeded extra autorelease pool
David Fuhrmann
git at videolan.org
Fri Sep 14 20:10:36 CEST 2012
vlc | branch: master | David Fuhrmann <david.fuhrmann at googlemail.com> | Fri Sep 14 20:00:01 2012 +0200| [895880e93c505dc084c6d6dce21b04cd2d7432b6] | committer: David Fuhrmann
macosx: remove unneeded extra autorelease pool
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=895880e93c505dc084c6d6dce21b04cd2d7432b6
---
modules/gui/macosx/MainWindow.m | 3 ---
1 file changed, 3 deletions(-)
diff --git a/modules/gui/macosx/MainWindow.m b/modules/gui/macosx/MainWindow.m
index 5c145a6..fdcf21f 100644
--- a/modules/gui/macosx/MainWindow.m
+++ b/modules/gui/macosx/MainWindow.m
@@ -1424,7 +1424,6 @@ static VLCMainWindow *_o_sharedInstance = nil;
- (void)updateName
{
- NSAutoreleasePool *o_pool = [[NSAutoreleasePool alloc] init];
input_thread_t * p_input;
p_input = pl_CurrentInput(VLCIntf);
if (p_input) {
@@ -1464,8 +1463,6 @@ static VLCMainWindow *_o_sharedInstance = nil;
[self setTitle: _NS("VLC media player")];
[self setRepresentedURL: nil];
}
-
- [o_pool release];
}
- (void)updateWindow
More information about the vlc-commits
mailing list