diff options
author | Andrey Lihatskiy <alihatskiy@productengine.com> | 2024-03-27 10:13:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-27 10:13:05 +0200 |
commit | bcb5210f6b51b65174425849fbe4cbc53e424c8d (patch) | |
tree | 04420f59b47894d7945a44d995b72d6badb1c02c /indra/llui/lltexteditor.cpp | |
parent | f25f51a20a7bcefcf51de5e71f827c74c659571a (diff) | |
parent | ccefd2f719e97c353dd85b51098a29786924190c (diff) |
Merge pull request #1063 from secondlife/marchcat/b-merge
Merge main into maint B
Diffstat (limited to 'indra/llui/lltexteditor.cpp')
-rw-r--r-- | indra/llui/lltexteditor.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/llui/lltexteditor.cpp b/indra/llui/lltexteditor.cpp index 092739a538..a247e8700a 100644 --- a/indra/llui/lltexteditor.cpp +++ b/indra/llui/lltexteditor.cpp @@ -2694,6 +2694,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; } |