diff options
author | Dave Parks <davep@lindenlab.com> | 2012-02-13 19:13:22 -0600 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2012-02-13 19:13:22 -0600 |
commit | 7206160fb5d1e8ef2e7fa4d037f34ba1633b0981 (patch) | |
tree | b5eecc59e7a132b86fb5931e5cf20a880c93466e /indra/newview/llwearable.cpp | |
parent | 3267b42ee521a7a059e0e87cba75a3d32af678e5 (diff) |
SH-2973 Potential fix for crash in ~LLVOAvatarSelf
Diffstat (limited to 'indra/newview/llwearable.cpp')
-rw-r--r-- | indra/newview/llwearable.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llwearable.cpp b/indra/newview/llwearable.cpp index d8aa0b7d5c..0f7f63061b 100644 --- a/indra/newview/llwearable.cpp +++ b/indra/newview/llwearable.cpp @@ -221,7 +221,7 @@ void LLWearable::createVisualParams() param->resetDrivenParams(); if(!param->linkDrivenParams(boost::bind(wearable_function,(LLWearable*)this, _1), false)) { - if( !param->linkDrivenParams(boost::bind(avatar_function,gAgentAvatarp,_1 ), true)) + if( !param->linkDrivenParams(boost::bind(avatar_function,gAgentAvatarp.get(),_1 ), true)) { llwarns << "could not link driven params for wearable " << getName() << " id: " << param->getID() << llendl; continue; |