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