Commit 0c33ffc1 authored by Rémi Duraffort's avatar Rémi Duraffort

growl: fix pontential use after free (var_delcallbacl called to late).

parent 252c9d11
......@@ -134,13 +134,13 @@ static void Close( vlc_object_t *p_this )
{
intf_sys_t *p_sys = ((intf_thread_t*)p_this)->p_sys;
var_DelCallback( pl_Get( p_this ), "item-current", ItemChange, p_this );
CFRelease( p_sys->default_icon );
CFRelease( p_sys->app_name );
CFRelease( p_sys->notification_type );
[p_sys->p_pool release];
free( p_sys );
var_DelCallback( pl_Get( p_this ), "item-current", ItemChange, p_this );
}
/*****************************************************************************
......
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