Matteo Bruni : include: Print failed allocation size.
Alexandre Julliard
julliard at winehq.org
Fri Aug 27 14:57:56 CDT 2021
Module: vkd3d
Branch: master
Commit: 54bef05070a6d4f229746934fd46abcfbef02399
URL: https://source.winehq.org/git/vkd3d.git/?a=commit;h=54bef05070a6d4f229746934fd46abcfbef02399
Author: Matteo Bruni <mbruni at codeweavers.com>
Date: Thu Aug 26 18:05:20 2021 +0200
include: Print failed allocation size.
Signed-off-by: Matteo Bruni <mbruni at codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at 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;
}
More information about the wine-cvs
mailing list