projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Cleanup of shutdown of event contexts
[citadel.git]
/
citadel
/
modules
/
c-ares-dns
/
serv_c-ares-dns.c
diff --git
a/citadel/modules/c-ares-dns/serv_c-ares-dns.c
b/citadel/modules/c-ares-dns/serv_c-ares-dns.c
index 642abb26068a8053a81cb76e15cbfcb9edcffc0c..6c56fd6335e4e6cfc273174be7a6145803b35123 100644
(file)
--- a/
citadel/modules/c-ares-dns/serv_c-ares-dns.c
+++ b/
citadel/modules/c-ares-dns/serv_c-ares-dns.c
@@
-272,6
+272,11
@@
void QueryCbDone(AsyncIO *IO)
ev_idle_stop(event_base, &IO->unwind_stack);
}
+void DestructCAres(AsyncIO *IO)
+{
+ ares_destroy_options(&IO->DNS.Options);
+}
+
void InitC_ares_dns(AsyncIO *IO)
{