From 6ec4ed645e37ba7dd5628747ea78ec1663599ab7 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sat, 3 Oct 2015 16:39:57 +0200 Subject: [PATCH] socket: don't double close the same fd for FIFOs --- src/core/socket.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/core/socket.c b/src/core/socket.c index 3250e7e..f547d1b 100644 --- a/src/core/socket.c +++ b/src/core/socket.c @@ -1028,8 +1028,6 @@ static int fifo_address_create( fail: mac_selinux_create_file_clear(); - safe_close(fd); - return r; } -- 2.7.4