Commit 181466ef authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

lua/libs: Fix a left over lonely UnlockExtension().

Spotted by jpeg.
parent a406c082
......@@ -57,10 +57,9 @@ input_thread_t * vlclua_get_input_internal( lua_State *L )
if( p_extension )
{
input_thread_t *p_input = p_extension->p_sys->p_input;
if (p_input)
if( p_input )
{
vlc_object_hold(p_input);
UnlockExtension(p_extension);
return p_input;
}
}
......
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