In DNS lookup code, make sure the weak pointer we use lives through the expected scope (if branch)

This commit is contained in:
Benjamin Sergeant
2019-09-19 12:51:11 -07:00
parent f7a12f52f8
commit a7cf151639
9 changed files with 98 additions and 50 deletions

View File

@ -23,7 +23,6 @@ namespace ix
const std::string& filter,
bool quiet)
{
ix::CobraConnection conn;
conn.configure(appkey, endpoint,
rolename, rolesecret,