From a0215153856903e53890edd938374f49ca96d5ae Mon Sep 17 00:00:00 2001 From: louis Date: Sat, 14 Mar 2015 06:37:11 +0100 Subject: fixed crash when opening and closing main menu consecutively --- libtemplate/xmlparser.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'libtemplate/xmlparser.c') diff --git a/libtemplate/xmlparser.c b/libtemplate/xmlparser.c index f5f3d6e..4aa0a81 100644 --- a/libtemplate/xmlparser.c +++ b/libtemplate/xmlparser.c @@ -965,13 +965,6 @@ bool cXmlParser::ParseAttributes(xmlAttrPtr attr, xmlNodePtr node, vectorname; - /* - if (!name.compare("debug")) { - attribs.push_back(pair((const char*)attr->name, "true")); - attr = attr->next; - continue; - } - */ xmlChar *value = NULL; value = xmlGetProp(node, attr->name); if (!view->ValidAttribute(isViewElement ? "viewelement" : (const char*)node->name, (const char*)attr->name)) { -- cgit v1.2.3