[vlc-commits] commit: Lua: fix a crash (the command is already freeed). ( Rémi Duraffort )

git at videolan.org git at videolan.org
Sat Apr 3 19:17:45 CEST 2010


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Sat Apr  3 18:55:54 2010 +0200| [078feead12e6a94ec5dd7df50a12baea59af5898] | committer: Rémi Duraffort 

Lua: fix a crash (the command is already freeed).

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=078feead12e6a94ec5dd7df50a12baea59af5898
---

 modules/misc/lua/extension_thread.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/modules/misc/lua/extension_thread.c b/modules/misc/lua/extension_thread.c
index 397ddf9..34694e8 100644
--- a/modules/misc/lua/extension_thread.c
+++ b/modules/misc/lua/extension_thread.c
@@ -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;
                     }



More information about the vlc-commits mailing list