Bugfix: Init ProxyPort in config.cpp.
, EnableIPv6(false)
, Loglevel(0)
, ConfigPath("/etc/bpdyndnsd")
+ , ProxyPort(0)
, ExternalWarningLog("")
, ExternalWarningLevel(0)
{
#include "httphelper.h"
-/**
- * Default Constructor
- */
-HTTPHelper::HTTPHelper()
- : Log(new Logger)
- , ProxyPort(0)
-{
-}
-
/**
* Constructor. Use this constructor if HTTP AUTH should be used. Username and password will then be set as HTTP auth options.
*/
HTTPHelper::~HTTPHelper()
{
+ // Free memory
+ curl_easy_cleanup(CurlEasyHandle);
+ free(CurlErrBuff);
}