vlc | branch: master | Rémi Denis-Courmont <[email protected]> | Tue May 19 
21:41:57 2015 +0300| [f822d4a899433d46e3b5a37a83c08a956f285564] | committer: 
Rémi Denis-Courmont

Lua intf: fix use-after-free

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

 modules/lua/intf.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/lua/intf.c b/modules/lua/intf.c
index 841587f..c183530 100644
--- a/modules/lua/intf.c
+++ b/modules/lua/intf.c
@@ -390,8 +390,8 @@ void Close_LuaIntf( vlc_object_t *p_this )
     vlclua_fd_interrupt( &p_sys->dtable );
     vlc_join( p_sys->thread, NULL );
 
-    vlclua_fd_cleanup( &p_sys->dtable );
     lua_close( p_sys->L );
+    vlclua_fd_cleanup( &p_sys->dtable );
     free( p_sys->psz_filename );
     free( p_sys );
 }

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to