]> git.sesse.net Git - vlc/commitdiff
macosx: remove unused Objc memory pool
authorJean-Paul Saman <jpsaman@videolan.org>
Sun, 14 Jun 2009 17:57:04 +0000 (19:57 +0200)
committerDerk-Jan Hartman <hartman@videolan.org>
Mon, 15 Jun 2009 12:47:28 +0000 (14:47 +0200)
(cherry picked from commit da4abb05d25215581dbcf26582cf30632f6fe1e0)

Signed-off-by: Derk-Jan Hartman <hartman@videolan.org>
modules/gui/macosx/intf.h
modules/gui/macosx/intf.m

index 5c5600084be5464eb76b33ec1c2dca221d1dcdbe..21b4225b2daad70fe1b92c1c69fa45ba448b6ebb 100644 (file)
@@ -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;
index c93758f22827e68c60514cd396aad542a80c1712..3b96807bccf4967b36bde48f784a9ac7eba4af4b 100644 (file)
@@ -91,8 +91,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;
@@ -108,8 +106,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 );
 }