diff options
Diffstat (limited to 'indra/llmessage/llservice.h')
-rw-r--r-- | indra/llmessage/llservice.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llmessage/llservice.h b/indra/llmessage/llservice.h index e243e710d6..fe6fa56477 100644 --- a/indra/llmessage/llservice.h +++ b/indra/llmessage/llservice.h @@ -71,7 +71,7 @@ namespace boost } inline void intrusive_ptr_release(LLServiceCreator* p) { - if(0 == --p->mReferenceCount) + if(p && 0 == --p->mReferenceCount) { delete p; } |