summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2023-09-25 20:17:06 +0300
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2023-09-25 20:17:06 +0300
commit627a6a2d0fb9b041d42d98a7b6301793ca8a7184 (patch)
tree7c51f79a95ac66bf9b6efbc4073050956b4b2a59 /indra
parentb88f0e40a584e3a0d9ff3fe11b1eda41fb89a29a (diff)
SL-20332 Crash at dragCategoryIntoFolder
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llinventorybridge.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/newview/llinventorybridge.cpp b/indra/newview/llinventorybridge.cpp
index 481b221870..73005d6903 100644
--- a/indra/newview/llinventorybridge.cpp
+++ b/indra/newview/llinventorybridge.cpp
@@ -2982,7 +2982,10 @@ BOOL LLFolderBridge::dragCategoryIntoFolder(LLInventoryCategory* inv_cat,
move_it != move_inv->mMoveList.end();
++move_it)
{
- cb->fire(move_it->second);
+ if (cb)
+ {
+ cb->fire(move_it->second);
+ }
}
};
accept = move_inv_category_world_to_agent(cat_id, mUUID, drop, callback, NULL, filter);