Commit 7b208835 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

alsa: fix invalid free

parent 3c443073
...@@ -742,7 +742,7 @@ static int EnumDevices(vlc_object_t *obj, char const *varname, ...@@ -742,7 +742,7 @@ static int EnumDevices(vlc_object_t *obj, char const *varname,
ids = xrealloc (ids, (n + 1) * sizeof (*ids)); ids = xrealloc (ids, (n + 1) * sizeof (*ids));
names = xrealloc (names, (n + 1) * sizeof (*names)); names = xrealloc (names, (n + 1) * sizeof (*names));
ids[n] = xstrdup ("default"); ids[n] = xstrdup ("default");
names[n] = _("Default"); names[n] = xstrdup (_("Default"));
n++; n++;
} }
......
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