Commit 27e4e1d2 authored by Jean-Paul Saman's avatar Jean-Paul Saman Committed by hartman
Browse files

macosx: remove unused Objc memory pool


(cherry picked from commit da4abb05d25215581dbcf26582cf30632f6fe1e0)
Signed-off-by: hartman's avatarDerk-Jan Hartman <hartman@videolan.org>
parent 715d81c9
......@@ -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;
......
......@@ -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 );
}
......
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