[vlc-devel] commit: lua: fix crash (Erwan Tulou )
git version control
git at videolan.org
Sun Feb 21 15:40:08 CET 2010
vlc | branch: master | Erwan Tulou <erwan10 at videolan.org> | Sun Feb 21 15:26:21 2010 +0100| [f47bbde33e32099f16ec557668cc0995de640266] | committer: Erwan Tulou
lua: fix crash
when using set_text on an image widget, vlc crashes
(trying to unlock when no lock is held)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f47bbde33e32099f16ec557668cc0995de640266
---
modules/misc/lua/libs/dialog.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/modules/misc/lua/libs/dialog.c b/modules/misc/lua/libs/dialog.c
index 4f8a0a3..7a276f5 100644
--- a/modules/misc/lua/libs/dialog.c
+++ b/modules/misc/lua/libs/dialog.c
@@ -597,7 +597,6 @@ static int vlclua_widget_set_text( lua_State *L )
case EXTENSION_WIDGET_LIST:
case EXTENSION_WIDGET_IMAGE:
default:
- vlc_mutex_unlock( &p_widget->p_dialog->lock );
return luaL_error( L, "method set_text not valid for this widget" );
}
More information about the vlc-devel
mailing list