mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
alsa: free alibpref after use
This commit is contained in:
parent
bdc164f509
commit
b7162d2c09
1 changed files with 1 additions and 0 deletions
|
|
@ -52,6 +52,7 @@ int spa_alsa_init(struct state *state)
|
|||
spa_scnprintf(name, sizeof(name), "%s%s", alibpref,
|
||||
state->props.device);
|
||||
strcpy(state->props.device, name);
|
||||
free((void*)alibpref);
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue