From 9ea59b06d5a1dabaf047768906fef52869aea4c0 Mon Sep 17 00:00:00 2001 From: Inusaito Sayori Date: Tue, 15 Oct 2013 08:58:32 -0400 Subject: [PATCH] Fix crash signature 140 --- indra/newview/llinventorybridge.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indra/newview/llinventorybridge.cpp b/indra/newview/llinventorybridge.cpp index 3dd268d60..e41c1a3d1 100644 --- a/indra/newview/llinventorybridge.cpp +++ b/indra/newview/llinventorybridge.cpp @@ -5841,7 +5841,7 @@ void LLWearableBridge::buildContextMenu(LLMenuGL& menu, U32 flags) } // [/RLVa:KB]*/ - bool not_modifiable = !gAgentWearables.isWearableModifiable(item->getUUID()); + bool not_modifiable = !item || !gAgentWearables.isWearableModifiable(item->getUUID()); if (((flags & FIRST_SELECTED_ITEM) == 0) || not_modifiable) { disabled_items.push_back(std::string("Wearable Edit"));