Commit e6552497 authored by ivoire's avatar ivoire
Browse files

modules: assert when trying to add more than one deprecated alias.

parent 081ffed5
......@@ -347,6 +347,7 @@ int vlc_plugin_set (module_t *module, module_config_t *item, int propid, ...)
const char *oldname = va_arg (ap, const char *);
assert (item->psz_oldname == NULL);
item->psz_oldname = oldname ? strdup (oldname) : NULL;
Supports Markdown
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