Commit 7c39ad95 authored by Alexis Ballier's avatar Alexis Ballier Committed by Rémi Denis-Courmont

Make sure vlc_release doesn't destroy a non existent spinlock.

This was actually fixed by [697457bc] but then [952a943a] came which made it useless.
Signed-off-by: Rémi Denis-Courmont's avatarRémi Denis-Courmont <remi@remlab.net>
parent 12f5df71
......@@ -195,7 +195,7 @@ void vlc_release (gc_object_t *p_gc)
assert (refs != (uintptr_t)(-1)); /* reference underflow?! */
if (refs == 0)
{
#ifdef USE_SYNC
#if defined (__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4)
#elif defined (WIN32) && defined (__GNUC__)
#elif defined(__APPLE__)
#else
......
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