vlc | branch: master | David Fuhrmann <[email protected]> | 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

_______________________________________________
vlc-commits mailing list
[email protected]
http://mailman.videolan.org/listinfo/vlc-commits

Reply via email to