Commit 858fa11f authored by Ilkka Ollakka's avatar Ilkka Ollakka

don't release before unlock, thanks to ivoire for spotting this

parent 719f12a6
......@@ -246,8 +246,8 @@ static int vlclua_playlist_get( lua_State *L )
p_item = playlist_ItemGetById( p_playlist, i_id, true );
if( !p_item )
{
vlclua_release_playlist_internal( p_playlist );
vlc_object_unlock( p_playlist );
vlclua_release_playlist_internal( p_playlist );
return 0; /* Should we return an error instead? */
}
}
......
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