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

Detect LibVLC object leaks

Since none of our otehr threads exist at the end, this is safe.
parent 4c2ec049
......@@ -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 );
}
......
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