mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -05:00
alsa-mixer: Use pa_xfree() instead of pa_xstrdup() for freeing a string.
This commit is contained in:
parent
678f12d056
commit
77312d06c8
1 changed files with 1 additions and 1 deletions
|
|
@ -2683,7 +2683,7 @@ static int mapping_parse_description(
|
|||
pa_assert(ps);
|
||||
|
||||
if ((m = mapping_get(ps, section))) {
|
||||
pa_xstrdup(m->description);
|
||||
pa_xfree(m->description);
|
||||
m->description = pa_xstrdup(rvalue);
|
||||
} else if ((p = profile_get(ps, section))) {
|
||||
pa_xfree(p->description);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue