reset lock_fd_mutex after destruction

This commit is contained in:
Lennart Poettering 2008-08-13 13:51:43 +02:00
parent 3c88af711e
commit a176f68e0a

View file

@ -134,6 +134,7 @@ static void unref(pa_bool_t after_fork) {
pa_mutex_unlock(lock_fd_mutex); pa_mutex_unlock(lock_fd_mutex);
pa_mutex_free(lock_fd_mutex); pa_mutex_free(lock_fd_mutex);
lock_fd_mutex = NULL;
pa_close(pipe_fd[0]); pa_close(pipe_fd[0]);
pa_close(pipe_fd[1]); pa_close(pipe_fd[1]);