Skip to content
Snippets Groups Projects
Commit 332f502e authored by Tofu Linden's avatar Tofu Linden
Browse files

CID-503

Checker: REVERSE_INULL
Function: LLOutfitsList::refreshList(const LLUUID &)
File: /indra/newview/lloutfitslist.cpp
parent bec744b7
No related branches found
No related tags found
No related merge requests found
...@@ -439,6 +439,7 @@ void LLOutfitsList::refreshList(const LLUUID& category_id) ...@@ -439,6 +439,7 @@ void LLOutfitsList::refreshList(const LLUUID& category_id)
static LLXMLNodePtr accordionXmlNode = getAccordionTabXMLNode(); static LLXMLNodePtr accordionXmlNode = getAccordionTabXMLNode();
LLAccordionCtrlTab* tab = LLUICtrlFactory::defaultBuilder<LLAccordionCtrlTab>(accordionXmlNode, NULL, NULL); LLAccordionCtrlTab* tab = LLUICtrlFactory::defaultBuilder<LLAccordionCtrlTab>(accordionXmlNode, NULL, NULL);
if (!tab) continue;
tab->setName(name); tab->setName(name);
tab->setTitle(name); tab->setTitle(name);
...@@ -455,10 +456,7 @@ void LLOutfitsList::refreshList(const LLUUID& category_id) ...@@ -455,10 +456,7 @@ void LLOutfitsList::refreshList(const LLUUID& category_id)
mAccordion->removeCollapsibleCtrl(tab); mAccordion->removeCollapsibleCtrl(tab);
// kill removed tab // kill removed tab
if (tab != NULL)
{
tab->die(); tab->die();
}
continue; continue;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment