Commit b9646f8f authored by JP Dinger's avatar JP Dinger

Revert "Compile fix on windows -- vlc_mutex_init() now returns void."

Fix turns out to not be quite a fix.

This reverts commit ba8f1f35.
parent 295904fa
......@@ -44,8 +44,12 @@ static int gcry_vlc_mutex_init( void **p_sys )
if( p_lock == NULL)
return ENOMEM;
vlc_mutex_init( p_lock );
return VLC_SUCCESS;
i_val = vlc_mutex_init( p_lock );
if( i_val )
free( p_lock );
else
*p_sys = p_lock;
return i_val;
}
static int gcry_vlc_mutex_destroy( void **p_sys )
......
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