[llvm-commits] [poolalloc] r103413 - /poolalloc/branches/release_26/runtime/FL2Allocator/PoolAllocator.cpp
John Criswell
criswell at uiuc.edu
Mon May 10 10:45:31 PDT 2010
Author: criswell
Date: Mon May 10 12:45:31 2010
New Revision: 103413
URL: http://llvm.org/viewvc/llvm-project?rev=103413&view=rev
Log:
Fixed compilation warning and potential functional error in poolrealloc().
Modified:
poolalloc/branches/release_26/runtime/FL2Allocator/PoolAllocator.cpp
Modified: poolalloc/branches/release_26/runtime/FL2Allocator/PoolAllocator.cpp
URL: http://llvm.org/viewvc/llvm-project/poolalloc/branches/release_26/runtime/FL2Allocator/PoolAllocator.cpp?rev=103413&r1=103412&r2=103413&view=diff
==============================================================================
--- poolalloc/branches/release_26/runtime/FL2Allocator/PoolAllocator.cpp (original)
+++ poolalloc/branches/release_26/runtime/FL2Allocator/PoolAllocator.cpp Mon May 10 12:45:31 2010
@@ -896,6 +896,7 @@
pthread_mutex_lock(&Pool->pool_lock);
void* to_return = poolrealloc_internal(Pool, Node, NumBytes);
pthread_mutex_unlock(&Pool->pool_lock);
+ return to_return;
}
#ifdef USE_DYNCALL
More information about the llvm-commits
mailing list