diff options
author | McCabe Maxsted | 2010-04-26 01:07:52 -0700 |
---|---|---|
committer | McCabe Maxsted | 2010-04-26 01:13:46 -0700 |
commit | 6485d47b55a1372f479196c91741999b3715f37a (patch) | |
tree | e09bb86414e9349909648ffe2da6f7439f5453c8 /linden | |
parent | Fixed #245: Script compile error from OpenSim crashes Imprudence (diff) | |
download | meta-impy-6485d47b55a1372f479196c91741999b3715f37a.zip meta-impy-6485d47b55a1372f479196c91741999b3715f37a.tar.gz meta-impy-6485d47b55a1372f479196c91741999b3715f37a.tar.bz2 meta-impy-6485d47b55a1372f479196c91741999b3715f37a.tar.xz |
Rare crash fix from Hippo for payment dialog under lag
Diffstat (limited to '')
-rw-r--r-- | linden/indra/llmessage/lltemplatemessagereader.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/linden/indra/llmessage/lltemplatemessagereader.cpp b/linden/indra/llmessage/lltemplatemessagereader.cpp index a7ca13a..d8904a9 100644 --- a/linden/indra/llmessage/lltemplatemessagereader.cpp +++ b/linden/indra/llmessage/lltemplatemessagereader.cpp | |||
@@ -537,7 +537,11 @@ BOOL LLTemplateMessageReader::decodeData(const U8* buffer, const LLHost& sender | |||
537 | llassert( mReceiveSize >= 0 ); | 537 | llassert( mReceiveSize >= 0 ); |
538 | llassert( mCurrentRMessageTemplate); | 538 | llassert( mCurrentRMessageTemplate); |
539 | llassert( !mCurrentRMessageData ); | 539 | llassert( !mCurrentRMessageData ); |
540 | delete mCurrentRMessageData; // just to make sure | 540 | if (mCurrentRMessageData) { |
541 | // just to make sure | ||
542 | delete mCurrentRMessageData; | ||
543 | mCurrentRMessageData = 0; | ||
544 | } | ||
541 | 545 | ||
542 | // The offset tells us how may bytes to skip after the end of the | 546 | // The offset tells us how may bytes to skip after the end of the |
543 | // message name. | 547 | // message name. |