summaryrefslogtreecommitdiff
path: root/indra/llimage/llimage.cpp
diff options
context:
space:
mode:
authorAlexander Gavriliuk <alexandrgproductengine@lindenlab.com>2023-12-14 23:25:11 +0100
committerGuru <alexandrgproductengine@lindenlab.com>2023-12-15 07:45:05 +0100
commit7f9438ed2b1e91aff615673ca2d97a3f300910f6 (patch)
tree9581e7645e3af871625d8f84723b8aeaae84f586 /indra/llimage/llimage.cpp
parent70b6eaa6e3f462fa3086f57a15ca29a303191693 (diff)
SL-3508 Crash in LLKDUDecodeState::processTileDecode
Diffstat (limited to 'indra/llimage/llimage.cpp')
-rw-r--r--indra/llimage/llimage.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/llimage/llimage.cpp b/indra/llimage/llimage.cpp
index 031471d1fe..7ac80825b5 100644
--- a/indra/llimage/llimage.cpp
+++ b/indra/llimage/llimage.cpp
@@ -2130,6 +2130,10 @@ U8* LLImageFormatted::reallocateData(S32 size)
// virtual
void LLImageFormatted::deleteData()
{
+ if (mDecoding)
+ {
+ LL_ERRS() << "LLImageFormatted::deleteData() is called during decoding" << LL_ENDL;
+ }
sGlobalFormattedMemory -= getDataSize();
LLImageBase::deleteData();
}