summaryrefslogtreecommitdiff
path: root/indra/llui/lltexteditor.cpp
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2024-03-28 11:05:36 +0800
committerErik Kundiman <erik@megapahit.org>2024-03-28 11:05:36 +0800
commit1a4517e5af8f43433fc2547658615dce4073d9a3 (patch)
tree7a2dd9d392e7651674f17e342b44461ab47e5327 /indra/llui/lltexteditor.cpp
parent9f20741e02491e009090211ac29bd37c31369378 (diff)
parentc810a409e22b90ebacb9946f8a4084ef0ad78d64 (diff)
Merge tag '7.1.4-release'
source for viewer 7.1.4.8149792635
Diffstat (limited to 'indra/llui/lltexteditor.cpp')
-rw-r--r--indra/llui/lltexteditor.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/llui/lltexteditor.cpp b/indra/llui/lltexteditor.cpp
index 9c2d16d916..3277512bc5 100644
--- a/indra/llui/lltexteditor.cpp
+++ b/indra/llui/lltexteditor.cpp
@@ -2800,6 +2800,7 @@ BOOL LLTextEditor::importBuffer(const char* buffer, S32 length )
char* text = new char[ text_len + 1];
if (text == NULL)
{
+ LLError::LLUserWarningMsg::showOutOfMemory();
LL_ERRS() << "Memory allocation failure." << LL_ENDL;
return FALSE;
}