diff options
author | Xiaohong Bao <bao@lindenlab.com> | 2011-11-22 11:53:44 -0700 |
---|---|---|
committer | Xiaohong Bao <bao@lindenlab.com> | 2011-11-22 11:53:44 -0700 |
commit | be3c6747a88d8bbb2c6b87c9eb97b14a42b90ae7 (patch) | |
tree | 49e8f8a93634039563de2e42e35e05bf3a49c844 /indra | |
parent | 9850e09f7663558070bca6353a7da806a53f4441 (diff) |
remove redundant memory allocation for sh-2651: [crashhunters] Crash after google translate failure
Diffstat (limited to 'indra')
-rw-r--r-- | indra/llxml/llxmlnode.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llxml/llxmlnode.cpp b/indra/llxml/llxmlnode.cpp index 9f1e249ddd..4362c88c4e 100644 --- a/indra/llxml/llxmlnode.cpp +++ b/indra/llxml/llxmlnode.cpp @@ -1277,7 +1277,7 @@ bool LLXMLNode::getAttribute(const LLStringTableEntry* name, LLXMLNodePtr& node, { return mDefault->getAttribute(name, node, FALSE); } - node = new LLXMLNode(); + return false; } |