mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -05:00
socket-server: memory leak, free machine id after use
This commit is contained in:
parent
669703daec
commit
3507d1eb37
1 changed files with 1 additions and 0 deletions
|
|
@ -536,6 +536,7 @@ char *pa_socket_server_get_address(pa_socket_server *s, char *c, size_t l) {
|
|||
return NULL;
|
||||
|
||||
pa_snprintf(c, l, "{%s}unix:%s", id, s->filename);
|
||||
pa_xfree(id);
|
||||
return c;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue