diff options
author | Lynx Linden <lynx@lindenlab.com> | 2009-11-12 18:03:01 +0000 |
---|---|---|
committer | Lynx Linden <lynx@lindenlab.com> | 2009-11-12 18:03:01 +0000 |
commit | 700085a093c71023703b43ca19e7ba114f2183ff (patch) | |
tree | e312dd38d76df6aaadf879acf50a5da18f9ea968 | |
parent | a4375f8a3023912bbb11e8c76ef574807dc1afde (diff) |
EXT-2367: Fixed potential NULL dereference crash in voice chat.
-rw-r--r-- | indra/newview/llimpanel.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/indra/newview/llimpanel.cpp b/indra/newview/llimpanel.cpp index 0b8b5935f8..87b801d73b 100644 --- a/indra/newview/llimpanel.cpp +++ b/indra/newview/llimpanel.cpp @@ -848,8 +848,11 @@ void LLFloaterIMPanel::processSessionUpdate(const LLSD& session_update) } - //update the speakers dropdown too - mSpeakerPanel->setVoiceModerationCtrlMode(voice_moderated); + //update the speakers dropdown too, if it's available + if (mSpeakerPanel) + { + mSpeakerPanel->setVoiceModerationCtrlMode(voice_moderated); + } } } |