diff options
author | Richard Linden <none@none> | 2013-01-10 00:12:25 -0800 |
---|---|---|
committer | Richard Linden <none@none> | 2013-01-10 00:12:25 -0800 |
commit | 8c73ff245cee8da2ca75c5651be88a36358a5dae (patch) | |
tree | 491d7b0baa5243806246a38d58ba8eaa91e983b4 /indra | |
parent | a891785f7a02098a53029311befd7083773d6ad8 (diff) |
SH-3468 WIP add memory tracking base class
actually use return value of posix_memalign!
Diffstat (limited to 'indra')
-rw-r--r-- | indra/llcommon/lltrace.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llcommon/lltrace.h b/indra/llcommon/lltrace.h index 7694f65441..a9d5cc58de 100644 --- a/indra/llcommon/lltrace.h +++ b/indra/llcommon/lltrace.h @@ -680,7 +680,7 @@ void* allocAligned(size_t size) #elif LL_DARWIN padded_allocation = ll_aligned_malloc(size_with_reserve, ALIGNMENT); #else - posix_memalign(&padded_allocation, ALIGNMENT, size_with_reserve); + padded_allocation = posix_memalign(&padded_allocation, ALIGNMENT, size_with_reserve); #endif } return (char*)padded_allocation + aligned_reserve; |