mirror of https://code.videolan.org/videolan/vlc
Detect LibVLC object leaks
Since none of our otehr threads exist at the end, this is safe.
This commit is contained in:
parent
4c2ec04992
commit
1775b86891
|
@ -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 );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue