summaryrefslogtreecommitdiff
path: root/ace/Malloc_T.i
diff options
context:
space:
mode:
Diffstat (limited to 'ace/Malloc_T.i')
-rw-r--r--ace/Malloc_T.i4
1 files changed, 2 insertions, 2 deletions
diff --git a/ace/Malloc_T.i b/ace/Malloc_T.i
index 27e5f7ae4f8..31c5b403cdd 100644
--- a/ace/Malloc_T.i
+++ b/ace/Malloc_T.i
@@ -186,8 +186,8 @@ ACE_Malloc_T<ACE_MEM_POOL_2, ACE_LOCK, ACE_CB>::release (void)
ACE_GUARD_RETURN (ACE_LOCK, ace_mon, (ACE_LOCK &) this->lock_, -1);
if (this->cb_ptr_ != 0)
return --this->cb_ptr_->ref_counter_;
-
- return -1;
+ else
+ return -1;
}
template <ACE_MEM_POOL_1, class ACE_LOCK, class ACE_CB> ACE_INLINE ACE_MEM_POOL &