X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/aab10975560853c3482eb0e0deca11acbc323a1c..0bccec4ece837941fd6ff445bbfceb62be928788:/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);