Commit 02b93c53 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Fix segmentation fault

parent f010396e
...@@ -846,7 +846,7 @@ vlc_mutex_t *var_AcquireMutex( const char *name ) ...@@ -846,7 +846,7 @@ vlc_mutex_t *var_AcquireMutex( const char *name )
return NULL; return NULL;
var_Get( p_global, name, &val ); var_Get( p_global, name, &val );
vlc_mutex_lock( &val.p_address ); vlc_mutex_lock( val.p_address );
return val.p_address; return val.p_address;
} }
......
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