Commit 13e70234 authored by Clément Stenac's avatar Clément Stenac

Fix spurious release at end

parent 11372015
......@@ -183,7 +183,7 @@ int VLC_CleanUp( int i_object )
int VLC_Destroy( int i_object )
{
LIBVLC_FUNC;
return libvlc_InternalDestroy( p_libvlc, VLC_TRUE );
return libvlc_InternalDestroy( p_libvlc, i_object ? VLC_TRUE : VLC_FALSE );
}
/*****************************************************************************
......
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