]> git.sesse.net Git - vlc/blobdiff - src/control/log.c
Remove useless test before a free.
[vlc] / src / control / log.c
index 6d80046f60791078ff1ede056d029082ff8be4cd..2fcdbf0168c1ac9b96dc9cdaaa921209e625149a 100644 (file)
@@ -3,7 +3,7 @@
  *****************************************************************************
  * Copyright (C) 2005 the VideoLAN team
  *
- * $Id: core.c 14187 2006-02-07 16:37:40Z courmisch $
+ * $Id$
  *
  * Authors: Damien Fouilleul <damienf@videolan.org>
  *
@@ -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, p_e );
+        libvlc_release( p_log->p_instance );
         free(p_log);
     }
     else