]> granicus.if.org Git - pdns/commit
auth: Use unique_ptr for `AuthLua` and `AuthLua4` objects
authorRemi Gacogne <remi.gacogne@powerdns.com>
Thu, 15 Sep 2016 09:12:58 +0000 (11:12 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Thu, 15 Sep 2016 09:12:58 +0000 (11:12 +0200)
commit3ce6361c7fa19dc97109965eabcbb31bb9415ae8
treeaf74cdb59c0875a05b043e4cc8f66403a9d5fd1f
parent0438fd8926638e38dbea5a34aa4ef52ec0bb3302
auth: Use unique_ptr for `AuthLua` and `AuthLua4` objects

Fix a leak reported by coverity when we cycle a backend.
pdns/lua-auth4.cc
pdns/packethandler.cc
pdns/packethandler.hh