summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2025-08-15 20:03:30 +0300
committerAndrey Kleshchev <117672381+akleshchev@users.noreply.github.com>2025-08-15 20:23:40 +0300
commit99001eaa4ffdac78953a64797d9d8163b9d32791 (patch)
tree01cfe41ed0c0b03fa16586130e78206fe3498874 /indra/newview
parentd5cc91e1f1b7ea71d0866d91d4a39ab826957635 (diff)
#4561 Crash at initializeURLHistory
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llfloaterwebcontent.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llfloaterwebcontent.cpp b/indra/newview/llfloaterwebcontent.cpp
index e1b6df6072..3ff84ac9b7 100644
--- a/indra/newview/llfloaterwebcontent.cpp
+++ b/indra/newview/llfloaterwebcontent.cpp
@@ -130,7 +130,7 @@ void LLFloaterWebContent::initializeURLHistory()
for(; iter_history != end_history; ++iter_history)
{
std::string url = (*iter_history).asString();
- if(! url.empty())
+ if(! url.empty() && url_list)
url_list->addSimpleElement(url);
}
}