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.
This commit is contained in:
Thomas Weißschuh 2022-08-29 21:19:16 +02:00 committed by Philip Langdale
parent 535cd6f313
commit a9155c6f97
1 changed files with 1 additions and 1 deletions

View File

@ -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) {