alsa-mixer: Use pa_xfree() instead of pa_xstrdup() for freeing a string.

This commit is contained in:
Tanu Kaskinen 2009-12-16 11:51:27 +02:00
parent 678f12d056
commit 77312d06c8

View file

@ -2683,7 +2683,7 @@ static int mapping_parse_description(
pa_assert(ps); pa_assert(ps);
if ((m = mapping_get(ps, section))) { if ((m = mapping_get(ps, section))) {
pa_xstrdup(m->description); pa_xfree(m->description);
m->description = pa_xstrdup(rvalue); m->description = pa_xstrdup(rvalue);
} else if ((p = profile_get(ps, section))) { } else if ((p = profile_get(ps, section))) {
pa_xfree(p->description); pa_xfree(p->description);