mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-05 13:29:57 -05:00
stream-resotre: don't leak a name
This commit is contained in:
parent
c0cf22d081
commit
0684b236f0
1 changed files with 2 additions and 0 deletions
|
|
@ -532,6 +532,7 @@ static void apply_entry(struct userdata *u, const char *name, struct entry *e) {
|
|||
pa_xfree(n);
|
||||
continue;
|
||||
}
|
||||
pa_xfree(n);
|
||||
|
||||
if (u->restore_volume) {
|
||||
pa_cvolume v;
|
||||
|
|
@ -581,6 +582,7 @@ static void apply_entry(struct userdata *u, const char *name, struct entry *e) {
|
|||
pa_xfree(n);
|
||||
continue;
|
||||
}
|
||||
pa_xfree(n);
|
||||
|
||||
if (u->restore_device &&
|
||||
e->device_valid &&
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue