static void vlc_submodule_destruct (gc_object_t *obj) { module_t *module = vlc_priv (obj, module_t); free (module->pp_shortcuts); free (module->psz_object_name); free (module); }
static void input_item_Destroy ( gc_object_t *p_gc ) { input_item_t *p_item = vlc_priv( p_gc, input_item_t ); input_item_Clean( p_item ); free( p_item ); }
static void vlc_module_destruct (gc_object_t *obj) { module_t *module = vlc_priv (obj, module_t); vlc_mutex_destroy (&module->lock); free (module->psz_object_name); free (module); }
/** * Destroys a message. */ static void msg_Free (gc_object_t *gc) { msg_item_t *msg = vlc_priv (gc, msg_item_t); free (msg->psz_module); free (msg->psz_msg); free (msg->psz_header); free (msg); }
static void Destructor( gc_object_t *p_gc ) { input_resource_t *p_resource = vlc_priv( p_gc, input_resource_t ); DestroySout( p_resource ); DestroyVout( p_resource ); DestroyAout( p_resource ); vlc_mutex_destroy( &p_resource->lock_hold ); vlc_mutex_destroy( &p_resource->lock ); free( p_resource ); }