Uses my_alloc
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@845 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
8c7c3c304e
commit
a41fe5d416
2 changed files with 5 additions and 6 deletions
|
@ -57,7 +57,7 @@ int NSISCALL loadHeaders(void)
|
|||
|
||||
if (!ReadFile(g_db_hFile,(LPVOID)&h,sizeof(h),&r,NULL) || r != sizeof(h) || !isheader(&h)) return -1;
|
||||
|
||||
data=(void*)GlobalAlloc(GMEM_FIXED,h.length_of_header);
|
||||
data=(void*)my_alloc(h.length_of_header);
|
||||
|
||||
#ifdef NSIS_CONFIG_COMPRESSION_SUPPORT
|
||||
inflateInit(&g_inflate_stream);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue