]> git.stg.codes - stg.git/blobdiff - stglibs/srvconf.lib/servconf.cpp
Ticket 37. The 'change_policy' field value added when tariff values insert into
[stg.git] / stglibs / srvconf.lib / servconf.cpp
index 1b13de6d1ce4916086a64063474fefaad3c5b356..2f4afaba147bc7132d33bddfba5331197b9cb877 100644 (file)
@@ -110,6 +110,11 @@ SERVCONF::SERVCONF()
 parser = XML_ParserCreate(NULL);
 }
 //-----------------------------------------------------------------------------
 parser = XML_ParserCreate(NULL);
 }
 //-----------------------------------------------------------------------------
+SERVCONF::~SERVCONF()
+{
+XML_ParserFree(parser);
+}
+//-----------------------------------------------------------------------------
 void SERVCONF::SetServer(const char * server)
 {
 nt.SetServer(server);
 void SERVCONF::SetServer(const char * server)
 {
 nt.SetServer(server);