Skip to content
Snippets Groups Projects
Commit be3c6747 authored by Xiaohong Bao's avatar Xiaohong Bao
Browse files

remove redundant memory allocation for sh-2651: [crashhunters] Crash after google translate failure

parent 9850e09f
No related branches found
No related tags found
No related merge requests found
...@@ -1277,7 +1277,7 @@ bool LLXMLNode::getAttribute(const LLStringTableEntry* name, LLXMLNodePtr& node, ...@@ -1277,7 +1277,7 @@ bool LLXMLNode::getAttribute(const LLStringTableEntry* name, LLXMLNodePtr& node,
{ {
return mDefault->getAttribute(name, node, FALSE); return mDefault->getAttribute(name, node, FALSE);
} }
node = new LLXMLNode();
return false; return false;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment