Browse Source

Fix another resource leak in failure case

From: Stefan Bühler <stbuehler@web.de>

git-svn-id: svn://svn.lighttpd.net/spawn-fcgi/trunk@70 4a9f3682-ca7b-49a8-9a55-ba4640e46f83
master
Stefan Bühler 8 years ago
parent
commit
f83349150b
  1. 1
      src/spawn-fcgi.c

1
src/spawn-fcgi.c

@ -132,6 +132,7 @@ static int bind_socket(const char *addr, unsigned short port, const char *unixso
break;
default:
fprintf(stderr, "spawn-fcgi: removing old socket failed: %s\n", strerror(errno));
close(fcgi_fd);
return -1;
}
}

Loading…
Cancel
Save