summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2008-08-13 13:51:43 +0200
committerLennart Poettering <lennart@poettering.net>2008-08-13 13:51:43 +0200
commita176f68e0abb32331223dbb0dfa2dfcbe8af1cd6 (patch)
tree778e2c41036cc928e99568f19debcd345bf281c3 /src
parent3c88af711eee69d6bfda4268e0492278bcb59a02 (diff)
reset lock_fd_mutex after destruction
Diffstat (limited to 'src')
-rw-r--r--src/pulse/lock-autospawn.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pulse/lock-autospawn.c b/src/pulse/lock-autospawn.c
index 33a53113..d36b669e 100644
--- a/src/pulse/lock-autospawn.c
+++ b/src/pulse/lock-autospawn.c
@@ -134,6 +134,7 @@ static void unref(pa_bool_t after_fork) {
pa_mutex_unlock(lock_fd_mutex);
pa_mutex_free(lock_fd_mutex);
+ lock_fd_mutex = NULL;
pa_close(pipe_fd[0]);
pa_close(pipe_fd[1]);