event_pipe: use close() instead of xclose()

xclose() aims to be the signal safe version of close(). However during
cleanup, this isn't important.
This commit is contained in:
Max Kellermann 2009-01-03 14:53:36 +01:00
parent 206611e280
commit d1c4f261c8

View File

@ -19,7 +19,6 @@
*/
#include "event_pipe.h"
#include "utils.h"
#include "log.h"
#include <assert.h>
@ -104,8 +103,8 @@ void event_pipe_deinit(void)
{
g_mutex_free(event_pipe_mutex);
xclose(event_pipe[0]);
xclose(event_pipe[1]);
close(event_pipe[0]);
close(event_pipe[1]);
}
void