Kaydet (Commit) c76b5ace authored tarafından Markus Mohrhard's avatar Markus Mohrhard

this code is redundant and leaks memory

Change-Id: Ib57f44c203ead68102d712ef29ab7362b0cea8db
üst 5d053672
......@@ -744,9 +744,6 @@ bool NodeJava::createSettingsDocument() const
CXmlDocPtr doc(xmlNewDoc((xmlChar *)"1.0"));
if (! doc)
throw FrameworkException(JFW_E_ERROR, sExcMsg);
//Create a comment
xmlNewDocComment(
doc, (xmlChar *) "This is a generated file. Do not alter this file!");
//Create the root element and name spaces
xmlNodePtr root = xmlNewDocNode(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment