Detect LibVLC object leaks

Since none of our otehr threads exist at the end, this is safe.
This commit is contained in:
Rémi Denis-Courmont 2009-03-05 19:24:12 +02:00
parent 4c2ec04992
commit 1775b86891
1 changed files with 1 additions and 0 deletions

View File

@ -1133,6 +1133,7 @@ void libvlc_InternalDestroy( libvlc_int_t *p_libvlc )
vlc_mutex_destroy( &priv->config_lock );
vlc_mutex_destroy( &priv->timer_lock );
assert( vlc_internals( p_libvlc )->i_refcount == 1 );
vlc_object_release( p_libvlc );
}