summaryrefslogtreecommitdiff
path: root/indra/llvfs/llvfile.cpp
diff options
context:
space:
mode:
authorRichard Linden <none@none>2013-09-26 11:20:11 -0700
committerRichard Linden <none@none>2013-09-26 11:20:11 -0700
commit6115125dd2b065d7083357b02665d93d47468285 (patch)
tree13f3b7b22c218b7ff6e10c0447a606dc68319d55 /indra/llvfs/llvfile.cpp
parent1aec07aecfd1a39adf83589473cd7c3cfbc1cd76 (diff)
BUILDFIX: ll_aligned_free call
Diffstat (limited to 'indra/llvfs/llvfile.cpp')
-rwxr-xr-xindra/llvfs/llvfile.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llvfs/llvfile.cpp b/indra/llvfs/llvfile.cpp
index 2af7a7d35d..9b57246ea1 100755
--- a/indra/llvfs/llvfile.cpp
+++ b/indra/llvfs/llvfile.cpp
@@ -137,12 +137,12 @@ U8* LLVFile::readFile(LLVFS *vfs, const LLUUID &uuid, LLAssetType::EType type, S
}
else
{
- data = (U8*) ll_aligned_malloc_16(file_size);
+ data = (U8*) ll_aligned_malloc(16, file_size);
file.read(data, file_size); /* Flawfinder: ignore */
if (file.getLastBytesRead() != (S32)file_size)
{
- ll_aligned_free(data);
+ ll_aligned_free(16, data);
data = NULL;
file_size = 0;
}