Fix syntax errors
authorRémi Denis-Courmont <rem@videolan.org>
Mon, 22 Oct 2007 17:01:35 +0000 (17:01 +0000)
committerRémi Denis-Courmont <rem@videolan.org>
Mon, 22 Oct 2007 17:01:35 +0000 (17:01 +0000)
src/control/event.c
src/control/log.c
src/control/tag_query.c

index bf92925..178e984 100644 (file)
@@ -104,7 +104,7 @@ void libvlc_event_manager_release( libvlc_event_manager_t * p_em )
     FOREACH_END()
     ARRAY_RESET( p_em->listeners_groups );
 
-    libvlc_release( p_em->p_livclc_instance );
+    libvlc_release( p_em->p_libvlc_instance, NULL );
     free( p_em );
 }
 
index 2ec43a8..6d80046 100644 (file)
@@ -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 )
     {
         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);
     }
     else
index 5b49539..f534ed4 100644 (file)
@@ -76,7 +76,7 @@ void libvlc_tag_query_release( libvlc_tag_query_t * p_q )
     free( p_q->tag );
     free( p_q->psz_tag_key );
  
-    libvlc_release( p_q->p_libvlc_instance );
+    libvlc_release( p_q->p_libvlc_instance, NULL );
     free( p_q );
 }