mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
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:
parent
fbcdc7a9d4
commit
54bef05070
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user