Commit 0add93d0 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Lua intf: fix use-after-free

(cherry picked from commit f822d4a899433d46e3b5a37a83c08a956f285564)
parent 0e9751c7
......@@ -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 );
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment