From 7963260e76adbb4787b7dfcd307a6dd2621a4255 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20R=C3=BChsen?= Date: Mon, 16 Apr 2018 11:58:18 +0200 Subject: [PATCH] * src/host.c (wait_ares): Free ptimer --- src/host.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/host.c b/src/host.c index d337cc7c..4597f46a 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