Commit ec99b9d9 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Fix syntax errors

parent dcbc6d8f
...@@ -104,7 +104,7 @@ void libvlc_event_manager_release( libvlc_event_manager_t * p_em ) ...@@ -104,7 +104,7 @@ void libvlc_event_manager_release( libvlc_event_manager_t * p_em )
FOREACH_END() FOREACH_END()
ARRAY_RESET( p_em->listeners_groups ); ARRAY_RESET( p_em->listeners_groups );
libvlc_release( p_em->p_livclc_instance ); libvlc_release( p_em->p_libvlc_instance, NULL );
free( p_em ); free( p_em );
} }
......
...@@ -83,7 +83,7 @@ void libvlc_log_close( libvlc_log_t *p_log, libvlc_exception_t *p_e ) ...@@ -83,7 +83,7 @@ void libvlc_log_close( libvlc_log_t *p_log, libvlc_exception_t *p_e )
if( p_log && p_log->p_messages ) if( p_log && p_log->p_messages )
{ {
msg_Unsubscribe(p_log->p_instance->p_libvlc_int, p_log->p_messages); msg_Unsubscribe(p_log->p_instance->p_libvlc_int, p_log->p_messages);
libvlc_release( p_log->p_instance ); libvlc_release( p_log->p_instance, p_e );
free(p_log); free(p_log);
} }
else else
......
...@@ -76,7 +76,7 @@ void libvlc_tag_query_release( libvlc_tag_query_t * p_q ) ...@@ -76,7 +76,7 @@ void libvlc_tag_query_release( libvlc_tag_query_t * p_q )
free( p_q->tag ); free( p_q->tag );
free( p_q->psz_tag_key ); free( p_q->psz_tag_key );
libvlc_release( p_q->p_libvlc_instance ); libvlc_release( p_q->p_libvlc_instance, NULL );
free( p_q ); free( p_q );
} }
......
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