summaryrefslogtreecommitdiff
path: root/src/pulsecore/socket-server.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2009-04-10 01:15:26 +0200
committerLennart Poettering <lennart@poettering.net>2009-04-10 01:15:26 +0200
commit3507d1eb37173cb7f5e6a10d306f5fca57fe0b39 (patch)
tree8b70a758826558e766c4164607785bdf21cf0889 /src/pulsecore/socket-server.c
parent669703daec2b9231ab80eefe3bccfca29cc3decb (diff)
socket-server: memory leak, free machine id after use
Diffstat (limited to 'src/pulsecore/socket-server.c')
-rw-r--r--src/pulsecore/socket-server.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pulsecore/socket-server.c b/src/pulsecore/socket-server.c
index 8147b27f0..e660700cb 100644
--- a/src/pulsecore/socket-server.c
+++ b/src/pulsecore/socket-server.c
@@ -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;
}