diff options
Diffstat (limited to 'linden/indra/llmessage/llservice.h')
-rw-r--r-- | linden/indra/llmessage/llservice.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/linden/indra/llmessage/llservice.h b/linden/indra/llmessage/llservice.h index 3866dbc..5744f75 100644 --- a/linden/indra/llmessage/llservice.h +++ b/linden/indra/llmessage/llservice.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 |
@@ -90,7 +91,7 @@ namespace boost | |||
90 | } | 91 | } |
91 | inline void intrusive_ptr_release(LLServiceCreator* p) | 92 | inline void intrusive_ptr_release(LLServiceCreator* p) |
92 | { | 93 | { |
93 | if(0 == --p->mReferenceCount) | 94 | if(p && 0 == --p->mReferenceCount) |
94 | { | 95 | { |
95 | delete p; | 96 | delete p; |
96 | } | 97 | } |