//-----------------------------------------------------------------------------
SERVCONF::SERVCONF()
: currParser(NULL),
- parseDepth(0),
error(0),
RecvUserDataCb(NULL),
RecvGetUserDataCb(NULL),
parser = XML_ParserCreate(NULL);
}
//-----------------------------------------------------------------------------
+SERVCONF::~SERVCONF()
+{
+XML_ParserFree(parser);
+}
+//-----------------------------------------------------------------------------
void SERVCONF::SetServer(const char * server)
{
nt.SetServer(server);