summaryrefslogtreecommitdiff
path: root/indra/llxuixml
diff options
context:
space:
mode:
authorXiaohong Bao <bao@lindenlab.com>2011-11-28 11:33:49 -0700
committerXiaohong Bao <bao@lindenlab.com>2011-11-28 11:33:49 -0700
commit2851cd519338ef4a1fde15da8d4015ab4380d6cb (patch)
treee293f42016c3ce1a8e7ddb0f015ba72287381f33 /indra/llxuixml
parentbe3c6747a88d8bbb2c6b87c9eb97b14a42b90ae7 (diff)
a try fix for sh-2651: [crashhunters] Crash after google translate failure
and sh-2658: crash in LLPluginMessage::parse
Diffstat (limited to 'indra/llxuixml')
-rw-r--r--indra/llxuixml/llxuiparser.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/llxuixml/llxuiparser.cpp b/indra/llxuixml/llxuiparser.cpp
index 878f992178..5a525f84a8 100644
--- a/indra/llxuixml/llxuiparser.cpp
+++ b/indra/llxuixml/llxuiparser.cpp
@@ -1247,6 +1247,7 @@ bool LLSimpleXUIParser::readXUI(const std::string& filename, LLInitParam::BaseBl
if( !file.isOpen() )
{
LL_WARNS("ReadXUI") << "Unable to open file " << filename << LL_ENDL;
+ XML_ParserFree( mParser );
return false;
}