From cbb097d8581dbb27d81be3a3022a96b8ad08e295 Mon Sep 17 00:00:00 2001 From: Rafael Buchbinder Date: Tue, 16 Oct 2018 15:39:20 +0300 Subject: [PATCH] pdns-recursor: avoid a memory leak in catch-all exception handler This commit prevents a leak of DNSComboWriter in the catch-all exception handler. --- pdns/pdns_recursor.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/pdns/pdns_recursor.cc b/pdns/pdns_recursor.cc index 3c7ec0ee3..f537f62d2 100644 --- a/pdns/pdns_recursor.cc +++ b/pdns/pdns_recursor.cc @@ -1590,6 +1590,7 @@ static void startDoResolve(void *p) } catch(...) { g_log<getMaxStackUsage(), g_stats.maxMThreadStackUsage); -- 2.49.0