summaryrefslogtreecommitdiff
path: root/indra/newview/lloutfitslist.cpp
diff options
context:
space:
mode:
authorMerov Linden <merov@lindenlab.com>2010-09-09 10:40:25 -0700
committerMerov Linden <merov@lindenlab.com>2010-09-09 10:40:25 -0700
commit81ea8d1751a8866b9ec998542c7d6e9b5645f357 (patch)
tree1f7f45a9bcf469efe9fc30c68aee2638342c1557 /indra/newview/lloutfitslist.cpp
parentf2d61c7371171e0ee1329186116c585aa5de7f52 (diff)
parent72e597a6f9e6dacbb41383ee8ee29e55acff4b74 (diff)
Pull from lindenlab/viewer-development
Diffstat (limited to 'indra/newview/lloutfitslist.cpp')
-rw-r--r--indra/newview/lloutfitslist.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/indra/newview/lloutfitslist.cpp b/indra/newview/lloutfitslist.cpp
index 51f9a03a9c..a0ef43ea80 100644
--- a/indra/newview/lloutfitslist.cpp
+++ b/indra/newview/lloutfitslist.cpp
@@ -439,6 +439,7 @@ void LLOutfitsList::refreshList(const LLUUID& category_id)
static LLXMLNodePtr accordionXmlNode = getAccordionTabXMLNode();
LLAccordionCtrlTab* tab = LLUICtrlFactory::defaultBuilder<LLAccordionCtrlTab>(accordionXmlNode, NULL, NULL);
+ if (!tab) continue;
tab->setName(name);
tab->setTitle(name);
@@ -455,10 +456,7 @@ void LLOutfitsList::refreshList(const LLUUID& category_id)
mAccordion->removeCollapsibleCtrl(tab);
// kill removed tab
- if (tab != NULL)
- {
- tab->die();
- }
+ tab->die();
continue;
}