summaryrefslogtreecommitdiff
path: root/src/host.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/host.c')
-rw-r--r--src/host.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/host.c b/src/host.c
index d337cc7..4597f46 100644
--- a/src/host.c
+++ b/src/host.c
@@ -731,6 +731,8 @@ wait_ares (ares_channel channel)
else
ares_process (channel, &read_fds, &write_fds);
}
+ if (timer)
+ timer = ptimer_destroy (timer);
}
static void