Module: vkd3d Branch: master Commit: 54bef05070a6d4f229746934fd46abcfbef02399 URL: https://source.winehq.org/git/vkd3d.git/?a=commit;h=54bef05070a6d4f229746934... Author: Matteo Bruni <mbruni(a)codeweavers.com> Date: Thu Aug 26 18:05:20 2021 +0200 include: Print failed allocation size. Signed-off-by: Matteo Bruni <mbruni(a)codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- 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 f6846d6..8a2edb1 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 %zu.\n", size); return ptr; }