diff options
author | Tofu Linden <tofu.linden@lindenlab.com> | 2010-02-10 18:33:21 +0000 |
---|---|---|
committer | Tofu Linden <tofu.linden@lindenlab.com> | 2010-02-10 18:33:21 +0000 |
commit | 3aa6150e80287a41e2b48b9bf30f86dfc025277a (patch) | |
tree | 43cd9eb8a7f4e8a720fccfa11b80c94e0601509d /indra | |
parent | b7b2d2b3ee097a4c7c7bc689538a5e0707c2978a (diff) |
CID-142
Checker: NULL_RETURNS
Function: LLFolderBridge::determineFolderType()
File: /indra/newview/llinventorybridge.cpp
Diffstat (limited to 'indra')
-rw-r--r-- | indra/newview/llinventorybridge.cpp | 5 |
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(); + } } } |