Fixed _aligned_recalloc

This commit is contained in:
Armin Novak 2020-09-07 11:05:45 +02:00
parent 816e792e3f
commit cad1dd39e2

View File

@ -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);