include: Print failed allocation size.

Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Matteo Bruni 2021-08-26 18:05:20 +02:00 committed by Alexandre Julliard
parent fbcdc7a9d4
commit 54bef05070

View File

@ -37,7 +37,7 @@ static inline void *vkd3d_malloc(size_t size)
static inline void *vkd3d_realloc(void *ptr, size_t size)
{
if (!(ptr = realloc(ptr, size)))
ERR("Out of memory.\n");
ERR("Out of memory, size %zu.\n", size);
return ptr;
}