From: Aki Tuomi Date: Tue, 27 Aug 2013 11:43:43 +0000 (+0300) Subject: Add NULL initialization for d_c on httpconnector X-Git-Tag: rec-3.6.0-rc1~504^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F975%2Fhead;p=thirdparty%2Fpdns.git Add NULL initialization for d_c on httpconnector --- diff --git a/modules/remotebackend/httpconnector.cc b/modules/remotebackend/httpconnector.cc index fe6a4cda47..da76c741e9 100644 --- a/modules/remotebackend/httpconnector.cc +++ b/modules/remotebackend/httpconnector.cc @@ -17,6 +17,7 @@ #ifdef REMOTEBACKEND_HTTP HTTPConnector::HTTPConnector(std::map options) { + this->d_c = NULL; this->d_url = options.find("url")->second; if (options.find("url-suffix") != options.end()) { this->d_url_suffix = options.find("url-suffix")->second;