diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1999-08-05 18:05:21 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1999-08-05 18:05:21 +0000 |
commit | 2e1ffd3e0c91f17948892a2a817e9644db058a56 (patch) | |
tree | a6e7960bef57b58ddd6246148a82a9279327c67a /ace/Malloc_T.cpp | |
parent | 6f83af36bc7d8bb6e4cfeb2d18993bf33befb634 (diff) | |
download | ATCD-2e1ffd3e0c91f17948892a2a817e9644db058a56.tar.gz |
ChangeLogTag:Thu Aug 5 13:03:28 1999 Douglas C. Schmidt <schmidt@ace.cs.wustl.edu>
Diffstat (limited to 'ace/Malloc_T.cpp')
-rw-r--r-- | ace/Malloc_T.cpp | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/ace/Malloc_T.cpp b/ace/Malloc_T.cpp index dd27024271a..21d4c83f52f 100644 --- a/ace/Malloc_T.cpp +++ b/ace/Malloc_T.cpp @@ -414,15 +414,12 @@ ACE_Malloc<ACE_MEM_POOL_2, ACE_LOCK>::shared_free (void *ap) for (; blockp <= currp - || blockp >= ACE_reinterpret_cast (ACE_Malloc_Header *, - currp->s_.next_block_); + || blockp >= (ACE_Malloc_Header *) currp->s_.next_block_; currp = currp->s_.next_block_) { - if (currp >= ACE_reinterpret_cast (ACE_Malloc_Header *, - currp->s_.next_block_) + if (currp >= (ACE_Malloc_Header *) currp->s_.next_block_ && (blockp > currp - || blockp < ACE_reinterpret_cast (ACE_Malloc_Header *, - currp->s_.next_block_))) + || blockp < (ACE_Malloc_Header *) currp->s_.next_block_)) // Freed block at the start or the end of the memory pool. break; } |