Cleanup of shutdown of event contexts
[citadel.git] / citadel / modules / c-ares-dns / serv_c-ares-dns.c
index 642abb26068a8053a81cb76e15cbfcb9edcffc0c..6c56fd6335e4e6cfc273174be7a6145803b35123 100644 (file)
@@ -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)
 {