Commit 5eea1626 authored by Rémi Duraffort's avatar Rémi Duraffort

Fix potential memleak.

parent 03a8d035
......@@ -166,6 +166,7 @@ int Open_LuaIntf( vlc_object_t *p_this )
{
msg_Err( p_intf, "Couldn't find lua interface script \"%s\".",
psz_name );
free( p_sys );
return VLC_EGENERIC;
}
msg_Dbg( p_intf, "Found lua interface script: %s", p_sys->psz_filename );
......
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