Commit a1af59d6 authored by Rémi Duraffort's avatar Rémi Duraffort

Avoid potential memleak.

parent bd299c44
......@@ -1096,6 +1096,7 @@ void var_OptionParse( vlc_object_t *p_obj, const char *psz_option,
{
msg_Err( p_obj, "unsafe option \"%s\" has been ignored for "
"security reasons", psz_name );
free( psz_name );
return;
}
}
......
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