Signed-off-by: Matteo Bruni mbruni@codeweavers.com --- I find it can be helpful in the unlikely case that it triggers.
I guess it could be considered a bit of an information leak but probably not a big deal?
include/private/vkd3d_memory.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/private/vkd3d_memory.h b/include/private/vkd3d_memory.h index f6846d66..6f264e30 100644 --- a/include/private/vkd3d_memory.h +++ b/include/private/vkd3d_memory.h @@ -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 %u.\n", size); return ptr; }