From a9155c6f97e02b09c93ff940e76db422cab7f894 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Wei=C3=9Fschuh?= Date: Mon, 29 Aug 2022 21:19:16 +0200 Subject: ta: increase size of names printed 30 characters are not a lot. Also when the name is calculated from the allocation site the line number will be the at the end of the name, so truncating it is especially inconvenient. --- ta/ta.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ta/ta.c b/ta/ta.c index b695317301..d67568adfd 100644 --- a/ta/ta.c +++ b/ta/ta.c @@ -333,7 +333,7 @@ static void print_leak_report(void) // Don't list those with parent; logically, only parents are listed if (!cur->next) { size_t c_size = get_children_size(cur); - char name[30] = {0}; + char name[50] = {0}; if (cur->name) snprintf(name, sizeof(name), "%s", cur->name); if (cur->name == &allocation_is_string) { -- cgit v1.2.3