diff --git a/src/addons/news_manager.cpp b/src/addons/news_manager.cpp index 1dc2af38b..3eb173f2a 100644 --- a/src/addons/news_manager.cpp +++ b/src/addons/news_manager.cpp @@ -55,6 +55,7 @@ void NewsManager::init() const XMLNode *xml = new XMLNode(xml_file); checkRedirect(xml); updateNews(xml, xml_file); + delete xml; } // init // ---------------------------------------------------------------------------