aboutsummaryrefslogtreecommitdiff
path: root/guilib/TextureBundleXPR.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'guilib/TextureBundleXPR.cpp')
-rw-r--r--guilib/TextureBundleXPR.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/guilib/TextureBundleXPR.cpp b/guilib/TextureBundleXPR.cpp
index 69d7462b7c..25764151dd 100644
--- a/guilib/TextureBundleXPR.cpp
+++ b/guilib/TextureBundleXPR.cpp
@@ -257,7 +257,7 @@ bool CTextureBundleXPR::LoadFile(const CStdString& Filename, CAutoTexBuffer& Unp
// found texture - allocate the necessary buffers
DWORD ReadSize = (file->second.PackedSize + (ALIGN - 1)) & ~(ALIGN - 1);
BYTE *buffer = (BYTE*)malloc(ReadSize);
-
+
if (!buffer || !UnpackedBuf.Set((BYTE*)XPhysicalAlloc(file->second.UnpackedSize, MAXULONG_PTR, 128, PAGE_READWRITE)))
{ // failed due to lack of memory
#ifndef _LINUX