]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
dnsdist: Fix a leak when a UDP response for DoH is truncated
authorRemi Gacogne <remi.gacogne@powerdns.com>
Wed, 8 Dec 2021 10:13:34 +0000 (11:13 +0100)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Wed, 8 Dec 2021 10:13:34 +0000 (11:13 +0100)
pdns/dnsdistdist/doh.cc

index 6c125fdf24f6edadc7a681e6d8645afd9c68ae78..9986ab2c98cb34d0af13047ee822c97feecd8d3b 100644 (file)
@@ -1327,8 +1327,6 @@ static void on_dnsdist(h2o_socket_t *listener, const char *err)
       queryDH->id = du->ids.origID;
 
       auto cpq = std::make_unique<DoHCrossProtocolQuery>(du);
-
-      du->get();
       du->tcp = true;
       du->truncated = false;