summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteven Bennetts <steve@lindenlab.com>2009-08-04 23:41:19 +0000
committerSteven Bennetts <steve@lindenlab.com>2009-08-04 23:41:19 +0000
commit7447454e7e733699f57f545bac13f46a72b916b7 (patch)
treeeffef3e39013df8adfa60332a7f3ddf4e53087f2
parent89434ef6e64462041368ab26e049011fc84ae1e3 (diff)
Fix for a crash bug on login after clearing the cache.
-rw-r--r--indra/newview/llgesturemgr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llgesturemgr.cpp b/indra/newview/llgesturemgr.cpp
index 69498d3099..59274c8638 100644
--- a/indra/newview/llgesturemgr.cpp
+++ b/indra/newview/llgesturemgr.cpp
@@ -1151,7 +1151,7 @@ void LLGestureManager::done()
{
for(item_map_t::iterator it = mActive.begin(); it != mActive.end(); ++it)
{
- if(it->second->mName.empty())
+ if(it->second && it->second->mName.empty())
{
LLViewerInventoryItem* item = gInventory.getItem(it->first);
if(item)