X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/c4456f2cae7261f7263e3708ff995bade7da722f..a84a49ca1eb7c31f79f6328e9dc453399ee120f9:/stglibs/srvconf.lib/servconf.cpp?ds=sidebyside diff --git a/stglibs/srvconf.lib/servconf.cpp b/stglibs/srvconf.lib/servconf.cpp index 0ca3028c..2f4afaba 100644 --- a/stglibs/srvconf.lib/servconf.cpp +++ b/stglibs/srvconf.lib/servconf.cpp @@ -92,7 +92,6 @@ sc->End(el); //----------------------------------------------------------------------------- SERVCONF::SERVCONF() : currParser(NULL), - parseDepth(0), error(0), RecvUserDataCb(NULL), RecvGetUserDataCb(NULL), @@ -111,6 +110,11 @@ SERVCONF::SERVCONF() parser = XML_ParserCreate(NULL); } //----------------------------------------------------------------------------- +SERVCONF::~SERVCONF() +{ +XML_ParserFree(parser); +} +//----------------------------------------------------------------------------- void SERVCONF::SetServer(const char * server) { nt.SetServer(server);