FIRE-21031: Crash when refreshing group profile

master
Ansariel 2017-03-27 22:32:45 +02:00
parent bf850c110b
commit dc79fa3d40
1 changed files with 1 additions and 1 deletions

View File

@ -1161,7 +1161,7 @@ S32 LLPanelGroupGeneral::sortMembersList(S32 col_idx,const LLScrollListItem* i1,
// <FS:Ansariel> FIRE-20149: Refresh insignia texture when clicking the refresh button
void LLPanelGroupGeneral::refreshInsigniaTexture()
{
if (mInsignia)
if (mInsignia && mInsignia->getTexture())
{
destroy_texture(mInsignia->getTexture()->getID());
}