mirror of https://github.com/mpv-player/mpv
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:
parent
535cd6f313
commit
a9155c6f97
2
ta/ta.c
2
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) {
|
||||
|
|
Loading…
Reference in New Issue