From ac8582fad4c9550a4d247d52a26ea090a297d995 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. (cherry picked from commit cbb097d8581dbb27d81be3a3022a96b8ad08e295) --- pdns/pdns_recursor.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/pdns/pdns_recursor.cc b/pdns/pdns_recursor.cc index 43601c2f3f..f2ac9dd2a0 100644 --- a/pdns/pdns_recursor.cc +++ b/pdns/pdns_recursor.cc @@ -1344,6 +1344,7 @@ static void startDoResolve(void *p) } catch(...) { L<getMaxStackUsage(), g_stats.maxMThreadStackUsage); -- 2.39.5