]> git.sesse.net Git - vlc/commitdiff
Lua: fix a crash (the command is already freeed).
authorRémi Duraffort <ivoire@videolan.org>
Sat, 3 Apr 2010 16:55:54 +0000 (18:55 +0200)
committerRémi Duraffort <ivoire@videolan.org>
Sat, 3 Apr 2010 17:11:11 +0000 (19:11 +0200)
modules/misc/lua/extension_thread.c

index 397ddf95889111271fd678bfed849dcbedfec63f..34694e8618bbcd9f5b0fe3cc05c0beaa6ef3c077 100644 (file)
@@ -315,6 +315,7 @@ static void* Run( void *data )
                         {
                             msg_Dbg( p_mgr, "Could not activate extension!" );
                             Deactivate( p_mgr, p_ext );
+                            cmd = NULL;
                         }
                         break;
                     }