From: Remi Gacogne Date: Thu, 30 Jan 2020 14:10:42 +0000 (+0100) Subject: auth: Prevent temporary objects in the DNSBackend::get() overrides X-Git-Tag: auth-4.3.0~5^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=61a77e1d47fbb1b16b575e911db891cada4e2233;p=thirdparty%2Fpdns.git auth: Prevent temporary objects in the DNSBackend::get() overrides (cherry picked from commit 2ea3d25e0c9eeefdb6d625bc314ad40a19022e23) --- diff --git a/modules/gmysqlbackend/smysql.cc b/modules/gmysqlbackend/smysql.cc index 9de744c5aa..74087425e2 100644 --- a/modules/gmysqlbackend/smysql.cc +++ b/modules/gmysqlbackend/smysql.cc @@ -283,10 +283,10 @@ public: g_log<isConnectionUsable(); diff --git a/pdns/ssqlite3.cc b/pdns/ssqlite3.cc index 507f2cd235..0c0eb207aa 100644 --- a/pdns/ssqlite3.cc +++ b/pdns/ssqlite3.cc @@ -113,10 +113,10 @@ public: for ( int i=0; i