[vlc-devel] commit: lua/libs: Fix a left over lonely UnlockExtension(). (Pierre d' Herbemont )
git version control
git at videolan.org
Fri Jan 29 12:15:26 CET 2010
vlc | branch: master | Pierre d'Herbemont <pdherbemont at free.fr> | Fri Jan 29 12:15:02 2010 +0100| [181466ef448760812fd1e8af476771d02f18b971] | committer: Pierre d'Herbemont
lua/libs: Fix a left over lonely UnlockExtension().
Spotted by jpeg.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=181466ef448760812fd1e8af476771d02f18b971
---
modules/misc/lua/libs/input.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/modules/misc/lua/libs/input.c b/modules/misc/lua/libs/input.c
index 3d7fa58..a0df569 100644
--- a/modules/misc/lua/libs/input.c
+++ b/modules/misc/lua/libs/input.c
@@ -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;
}
}
More information about the vlc-devel
mailing list