Fixed _aligned_recalloc
This commit is contained in:
parent
816e792e3f
commit
cad1dd39e2
@ -177,7 +177,7 @@ void* _aligned_offset_recalloc(void* memblock, size_t num, size_t size, size_t a
|
||||
ZeroMemory(newMemblock, pNewMem->size);
|
||||
}
|
||||
|
||||
return memblock;
|
||||
return newMemblock;
|
||||
}
|
||||
|
||||
pMem = WINPR_ALIGNED_MEM_STRUCT_FROM_PTR(memblock);
|
||||
|
Loading…
Reference in New Issue
Block a user