]> git.stg.codes - stg.git/blobdiff - stglibs/srvconf.lib/servconf.cpp
Use C++03 in cppcheck.
[stg.git] / stglibs / srvconf.lib / servconf.cpp
index 1b13de6d1ce4916086a64063474fefaad3c5b356..2f4afaba147bc7132d33bddfba5331197b9cb877 100644 (file)
@@ -110,6 +110,11 @@ SERVCONF::SERVCONF()
 parser = XML_ParserCreate(NULL);
 }
 //-----------------------------------------------------------------------------
+SERVCONF::~SERVCONF()
+{
+XML_ParserFree(parser);
+}
+//-----------------------------------------------------------------------------
 void SERVCONF::SetServer(const char * server)
 {
 nt.SetServer(server);