summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 84f4eef)
raw | patch | inline | side by side (parent: 84f4eef)
author | Florian Forster <octo@huhu.verplant.org> | |
Thu, 21 Dec 2006 12:38:52 +0000 (13:38 +0100) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Thu, 21 Dec 2006 19:18:09 +0000 (20:18 +0100) |
This closes the second part of the bug reported by Max Kellermann.
src/network.c | patch | blob | history |
diff --git a/src/network.c b/src/network.c
index c233de6826ebab9c7c7de45ef24042de0791fefb..e9ba84bb4210037f0cae97a6612c3fe0ef319bb6 100644 (file)
--- a/src/network.c
+++ b/src/network.c
{
if (network_bind_socket (se, ai_ptr) != 0)
{
+ close (se->fd);
free (se->addr);
free (se);
continue;