[vlc-devel] commit: Lua intf: missing lua_close() (Fabio Ritrovato )

git version control git at videolan.org
Tue Feb 16 13:20:31 CET 2010


vlc | branch: master | Fabio Ritrovato <sephiroth87 at videolan.org> | Tue Feb 16 13:20:11 2010 +0100| [b0830f25a29cb54513fe8f61a5bc7bfd4bafd996] | committer: Fabio Ritrovato 

Lua intf: missing lua_close()

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

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

diff --git a/modules/misc/lua/intf.c b/modules/misc/lua/intf.c
index ead86d8..4a4de3b 100644
--- a/modules/misc/lua/intf.c
+++ b/modules/misc/lua/intf.c
@@ -207,6 +207,7 @@ int Open_LuaIntf( vlc_object_t *p_this )
     {
         msg_Warn( p_intf, "Error while setting the module search path for %s",
                   p_sys->psz_filename );
+        lua_close( L );
         goto error;
     }
 




More information about the vlc-devel mailing list