diff options
author | Rye Mutt <rye@alchemyviewer.org> | 2024-07-22 11:01:24 -0400 |
---|---|---|
committer | Rye Mutt <rye@alchemyviewer.org> | 2024-07-22 11:01:24 -0400 |
commit | baca6ae98061b407295352dd6fdd4901a724e862 (patch) | |
tree | 4f5a12134d59338b821f97681b338cdc5db6ed59 /indra/newview | |
parent | 177a21d072e05dd28a09368e3b235d362b258f9e (diff) |
Fix nullptr crash in LLInvFVBridge::getClipboardEntries
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/llinventorybridge.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llinventorybridge.cpp b/indra/newview/llinventorybridge.cpp index e40ab86010..8f3dc3ce16 100644 --- a/indra/newview/llinventorybridge.cpp +++ b/indra/newview/llinventorybridge.cpp @@ -961,7 +961,7 @@ void LLInvFVBridge::getClipboardEntries(bool show_asset_id, } } - if (obj->getType() != LLAssetType::AT_CATEGORY) + if (obj && obj->getType() != LLAssetType::AT_CATEGORY) { items.push_back(std::string("Paste Separator")); } |