From: Aki Tuomi Date: Mon, 10 Jun 2013 12:49:15 +0000 (+0300) Subject: Initialize d_result to NULL on ctor X-Git-Tag: rec-3.6.0-rc1~687^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F857%2Fhead;p=thirdparty%2Fpdns.git Initialize d_result to NULL on ctor --- diff --git a/modules/remotebackend/remotebackend.cc b/modules/remotebackend/remotebackend.cc index e81a6f3c85..7d6306d2c3 100644 --- a/modules/remotebackend/remotebackend.cc +++ b/modules/remotebackend/remotebackend.cc @@ -50,6 +50,7 @@ RemoteBackend::RemoteBackend(const std::string &suffix) { setArgPrefix("remote"+suffix); build(getArg("connection-string")); + this->d_result = NULL; this->d_dnssec = mustDo("dnssec"); this->d_index = -1; this->d_trxid = 0;