*****************************************************************************/
struct intf_sys_t
{
- NSAutoreleasePool * o_pool;
-
/* special actions */
bool b_mute;
int i_play_status;
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;
{
intf_thread_t *p_intf = (intf_thread_t*) p_this;
- [p_intf->p_sys->o_pool release];
-
free( p_intf->p_sys );
}