summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoxie Linden <roxie@lindenlab.com>2024-06-25 18:30:18 -0700
committerRoxie Linden <roxie@lindenlab.com>2024-06-25 18:30:18 -0700
commit454821bb5968ce59e0738b38f135de659b8e349f (patch)
tree93f23f72c4cb36e6cdd68e372a4693d8b13e1d8c
parent0f47b68e92a3951392ff2fc6bba7147860c1ce4d (diff)
#1806 - crash in initVoiceChannel
-rw-r--r--indra/newview/llimview.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/newview/llimview.cpp b/indra/newview/llimview.cpp
index 014dd90406..2978de6a22 100644
--- a/indra/newview/llimview.cpp
+++ b/indra/newview/llimview.cpp
@@ -3413,11 +3413,11 @@ LLUUID LLIMMgr::addSession(
((IM_NOTHING_SPECIAL == dialog) || (IM_SESSION_P2P_INVITE == dialog) || (IM_SESSION_CONFERENCE_START == dialog)) &&
ids.size())
{
- LLIMModel::LLIMSession* ad_hoc_found = LLIMModel::getInstance()->findAdHocIMSession(ids);
- if (ad_hoc_found)
+ session = LLIMModel::getInstance()->findAdHocIMSession(ids);
+ if (session)
{
new_session = false;
- session_id = ad_hoc_found->mSessionID;
+ session_id = session->mSessionID;
}
}