diff options
author | Vadim Savchuk <vsavchuk@productengine.com> | 2010-01-28 13:58:00 +0200 |
---|---|---|
committer | Vadim Savchuk <vsavchuk@productengine.com> | 2010-01-28 13:58:00 +0200 |
commit | 14caf5475b8963e6b6689e96a0a7a64e13bb1887 (patch) | |
tree | 8d08ab19e287fca6a07622560669573fb9750181 /indra/llmessage/llmessagetemplateparser.cpp | |
parent | 33a417dd2d93573f7aafc194eefdad5339bccf1d (diff) | |
parent | 52bd13e1f5cd661ff359e36be8c0496d06c19d1c (diff) |
Merge from default branch
--HG--
branch : product-engine
Diffstat (limited to 'indra/llmessage/llmessagetemplateparser.cpp')
-rw-r--r-- | indra/llmessage/llmessagetemplateparser.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/llmessage/llmessagetemplateparser.cpp b/indra/llmessage/llmessagetemplateparser.cpp index 283547ea00..2ddbf3e0df 100644 --- a/indra/llmessage/llmessagetemplateparser.cpp +++ b/indra/llmessage/llmessagetemplateparser.cpp @@ -403,6 +403,10 @@ LLTemplateParser::LLTemplateParser(LLTemplateTokenizer & tokens): { mMessages.push_back(templatep); } + else + { + delete templatep; + } } if(!tokens.wantEOF()) |