Commit da4abb05 authored by Jean-Paul Saman's avatar Jean-Paul Saman

macosx: remove unused Objc memory pool

parent 503c860a
...@@ -59,8 +59,6 @@ unsigned int CocoaKeyToVLC( unichar i_key ); ...@@ -59,8 +59,6 @@ unsigned int CocoaKeyToVLC( unichar i_key );
*****************************************************************************/ *****************************************************************************/
struct intf_sys_t struct intf_sys_t
{ {
NSAutoreleasePool * o_pool;
/* special actions */ /* special actions */
bool b_mute; bool b_mute;
int i_play_status; int i_play_status;
......
...@@ -90,8 +90,6 @@ int OpenIntf ( vlc_object_t *p_this ) ...@@ -90,8 +90,6 @@ int OpenIntf ( vlc_object_t *p_this )
memset( p_intf->p_sys, 0, sizeof( *p_intf->p_sys ) ); 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 */ /* subscribe to LibVLCCore's messages */
p_intf->p_sys->p_sub = msg_Subscribe( p_intf->p_libvlc, MsgCallback, NULL ); p_intf->p_sys->p_sub = msg_Subscribe( p_intf->p_libvlc, MsgCallback, NULL );
p_intf->pf_run = Run; p_intf->pf_run = Run;
...@@ -107,8 +105,6 @@ void CloseIntf ( vlc_object_t *p_this ) ...@@ -107,8 +105,6 @@ void CloseIntf ( vlc_object_t *p_this )
{ {
intf_thread_t *p_intf = (intf_thread_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 ); free( p_intf->p_sys );
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment