aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llmessage/lliopipe.h
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/llmessage/lliopipe.h')
-rw-r--r--linden/indra/llmessage/lliopipe.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/linden/indra/llmessage/lliopipe.h b/linden/indra/llmessage/lliopipe.h
index f419703..38a98a6 100644
--- a/linden/indra/llmessage/lliopipe.h
+++ b/linden/indra/llmessage/lliopipe.h
@@ -6,6 +6,7 @@
6 * 6 *
7 * Copyright (c) 2004-2007, Linden Research, Inc. 7 * Copyright (c) 2004-2007, Linden Research, Inc.
8 * 8 *
9 * Second Life Viewer Source Code
9 * The source code in this file ("Source Code") is provided by Linden Lab 10 * The source code in this file ("Source Code") is provided by Linden Lab
10 * to you under the terms of the GNU General Public License, version 2.0 11 * to you under the terms of the GNU General Public License, version 2.0
11 * ("GPL"), unless you have obtained a separate licensing agreement 12 * ("GPL"), unless you have obtained a separate licensing agreement
@@ -256,7 +257,7 @@ namespace boost
256 } 257 }
257 inline void intrusive_ptr_release(LLIOPipe* p) 258 inline void intrusive_ptr_release(LLIOPipe* p)
258 { 259 {
259 if(0 == --p->mReferenceCount) 260 if(p && 0 == --p->mReferenceCount)
260 { 261 {
261 delete p; 262 delete p;
262 } 263 }