[vlc-devel] commit: macosx: remove unused Objc memory pool (Jean-Paul Saman )

git version control git at videolan.org
Sun Jun 14 20:09:12 CEST 2009


vlc | branch: 1.0-bugfix | Jean-Paul Saman <jpsaman at videolan.org> | Sun Jun 14 19:57:04 2009 +0200| [da4abb05d25215581dbcf26582cf30632f6fe1e0] | committer: Jean-Paul Saman 

macosx: remove unused Objc memory pool

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=da4abb05d25215581dbcf26582cf30632f6fe1e0
---

 modules/gui/macosx/intf.h |    2 --
 modules/gui/macosx/intf.m |    4 ----
 2 files changed, 0 insertions(+), 6 deletions(-)

diff --git a/modules/gui/macosx/intf.h b/modules/gui/macosx/intf.h
index f0e87d2..a550cca 100644
--- a/modules/gui/macosx/intf.h
+++ b/modules/gui/macosx/intf.h
@@ -59,8 +59,6 @@ unsigned int CocoaKeyToVLC( unichar i_key );
  *****************************************************************************/
 struct intf_sys_t
 {
-    NSAutoreleasePool * o_pool;
-
     /* special actions */
     bool b_mute;
     int i_play_status;
diff --git a/modules/gui/macosx/intf.m b/modules/gui/macosx/intf.m
index 725acd1..88ee820 100644
--- a/modules/gui/macosx/intf.m
+++ b/modules/gui/macosx/intf.m
@@ -90,8 +90,6 @@ int OpenIntf ( vlc_object_t *p_this )
 
     memset( p_intf->p_sys, 0, sizeof( *p_intf->p_sys ) );
 
-    p_intf->p_sys->o_pool = [[NSAutoreleasePool alloc] init];
-
     /* subscribe to LibVLCCore's messages */
     p_intf->p_sys->p_sub = msg_Subscribe( p_intf->p_libvlc, MsgCallback, NULL );
     p_intf->pf_run = Run;
@@ -107,8 +105,6 @@ void CloseIntf ( vlc_object_t *p_this )
 {
     intf_thread_t *p_intf = (intf_thread_t*) p_this;
 
-    [p_intf->p_sys->o_pool release];
-
     free( p_intf->p_sys );
 }
 




More information about the vlc-devel mailing list