diff options
author | Lennart Poettering <lennart@poettering.net> | 2008-08-13 13:51:43 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2008-08-13 13:51:43 +0200 |
commit | a176f68e0abb32331223dbb0dfa2dfcbe8af1cd6 (patch) | |
tree | 778e2c41036cc928e99568f19debcd345bf281c3 | |
parent | 3c88af711eee69d6bfda4268e0492278bcb59a02 (diff) |
reset lock_fd_mutex after destruction
-rw-r--r-- | src/pulse/lock-autospawn.c | 1 |
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]); |