summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2010-02-10 18:33:21 +0000
committerTofu Linden <tofu.linden@lindenlab.com>2010-02-10 18:33:21 +0000
commit3aa6150e80287a41e2b48b9bf30f86dfc025277a (patch)
tree43cd9eb8a7f4e8a720fccfa11b80c94e0601509d /indra
parentb7b2d2b3ee097a4c7c7bc689538a5e0707c2978a (diff)
CID-142
Checker: NULL_RETURNS Function: LLFolderBridge::determineFolderType() File: /indra/newview/llinventorybridge.cpp
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 9cfd5fc3ab..749e1ce3f3 100644
--- a/indra/newview/llinventorybridge.cpp
+++ b/indra/newview/llinventorybridge.cpp
@@ -2232,7 +2232,10 @@ void LLFolderBridge::determineFolderType()
{
LLInventoryModel* model = getInventoryModel();
LLViewerInventoryCategory* category = model->getCategory(mUUID);
- category->determineFolderType();
+ if (category)
+ {
+ category->determineFolderType();
+ }
}
}