]> git.sesse.net Git - vlc/commitdiff
lua/extension: Missing lock initialization.
authorPierre d'Herbemont <pdherbemont@free.fr>
Wed, 27 Jan 2010 01:00:48 +0000 (02:00 +0100)
committerPierre d'Herbemont <pdherbemont@free.fr>
Wed, 27 Jan 2010 01:09:07 +0000 (02:09 +0100)
modules/misc/lua/extension.c

index b5abe1a2f4cb6901a3d9d8365a06b1497327622e..04931c98386b14c5d793cd725e43ba4c92185efe 100644 (file)
@@ -85,6 +85,7 @@ int Open_Extension( vlc_object_t *p_this )
     p_mgr->p_sys = p_sys;
     ARRAY_INIT( p_sys->activated_extensions );
     ARRAY_INIT( p_mgr->extensions );
+    vlc_mutex_init( &p_mgr->p_sys->lock );
 
     /* Initialise Lua state structure */
     lua_State *L = GetLuaState( p_mgr, NULL );