[pulseaudio-discuss] [PATCH] protocol-stub: Clean up the per-user esound socket directory

Tanu Kaskinen tanu.kaskinen at linux.intel.com
Fri Apr 25 03:22:21 PDT 2014


We should clean up after ourselves.

The USE_PER_USER_ESOUND_SOCKET check was added in commit
045c1d602dcba57868845ba3270510593c39480f, but no rationale for the
change was provided.

BugLink: https://bugs.freedesktop.org/show_bug.cgi?id=77895
---
 src/modules/module-protocol-stub.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/modules/module-protocol-stub.c b/src/modules/module-protocol-stub.c
index 3218a01..871885b 100644
--- a/src/modules/module-protocol-stub.c
+++ b/src/modules/module-protocol-stub.c
@@ -502,7 +502,7 @@ void pa__done(pa_module*m) {
     if (u->socket_server_unix)
         pa_socket_server_unref(u->socket_server_unix);
 
-# if defined(USE_PROTOCOL_ESOUND) && !defined(USE_PER_USER_ESOUND_SOCKET)
+# if defined(USE_PROTOCOL_ESOUND)
     if (u->socket_path) {
         char *p = pa_parent_dir(u->socket_path);
         rmdir(p);
-- 
1.8.3.1



More information about the pulseaudio-discuss mailing list