From: Michael Tremer Date: Mon, 18 May 2026 17:00:53 +0000 (+0000) Subject: main: Don't double-free the transport X-Git-Tag: 0.0.1~11 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=28468353ba81eae987d9db37b2b3a5056f369507;p=zone-sync.git main: Don't double-free the transport Signed-off-by: Michael Tremer --- diff --git a/main.c b/main.c index 52447a3..b399745 100644 --- a/main.c +++ b/main.c @@ -558,10 +558,6 @@ static void destroy_loop(void* data) { if (ctx.view) dns_view_detach(&ctx.view); - // Destroy the transport - if (ctx.transport) - dns_transport_detach(&ctx.transport); - // Destroy the transport list if (ctx.transports) dns_transport_list_detach(&ctx.transports);