aboutsummaryrefslogtreecommitdiff
path: root/src/IO/http.c
diff options
context:
space:
mode:
authorSebastian Geerken <devnull@localhost>2015-05-24 10:45:22 +0200
committerSebastian Geerken <devnull@localhost>2015-05-24 10:45:22 +0200
commitf0fba0cb8e0fb64b960e6af8537661b565cc2121 (patch)
tree418ef2a1295f8ce119a6ec626c31ed037ba097e3 /src/IO/http.c
parent6a9fcedc2df7b2dc81aa16b11f64758acbccc83f (diff)
parent02a3ee925afe16af350979f679df869164dd39c2 (diff)
Merge with main repo.
Diffstat (limited to 'src/IO/http.c')
-rw-r--r--src/IO/http.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/IO/http.c b/src/IO/http.c
index 5f97c0fd..e5c459ee 100644
--- a/src/IO/http.c
+++ b/src/IO/http.c
@@ -679,9 +679,11 @@ static void Http_dns_cb(int Status, Dlist *addr_list, void *data)
}
}
if (clean_up) {
+ ChainLink *info = S->Info;
+
Http_socket_free(SKey);
- a_Chain_bfcb(OpAbort, S->Info, NULL, "Both");
- dFree(S->Info);
+ a_Chain_bfcb(OpAbort, info, NULL, "Both");
+ dFree(info);
}
}
}