Checker: REVERSE_INULL
Function: LLAgentWearables::setWearableOutfit(const LLDynamicArray<LLPointer<LLInventoryItem>, (int)32> &, LLDynamicArray<LLWearable *, (int)32>&, int)
File: /indra/newview/llagentwearables.cpp
meow-7.2.2
Tofu Linden 2010-02-12 17:49:55 +00:00
parent 41bd792032
commit 290a5846fc
1 changed files with 3 additions and 0 deletions

View File

@ -1605,6 +1605,9 @@ void LLAgentWearables::setWearableOutfit(const LLInventoryItem::item_array_t& it
LLWearable* new_wearable = wearables[i];
LLPointer<LLInventoryItem> new_item = items[i];
llassert(new_wearable);
if (!new_wearable) continue;
const EWearableType type = new_wearable->getType();
wearables_to_remove[type] = FALSE;