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 authored and Philip Langdale committed 2022-09-11 20:24:42 -07:00
1 parent 535cd6f313
commit a9155c6f97
1 file changed
+1 -1
+1 -1
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) {