diff options
author | Thomas Weißschuh <thomas@t-8ch.de> | 2022-08-29 21:19:16 +0200 |
---|---|---|
committer | Philip Langdale <github.philipl@overt.org> | 2022-09-11 20:24:42 -0700 |
commit | a9155c6f97e02b09c93ff940e76db422cab7f894 (patch) | |
tree | 5ac0a32be59726a394db892888651720f3e1c00f | |
parent | 535cd6f3130a179890505535b1cb06998a9cb07f (diff) | |
download | mpv-a9155c6f97e02b09c93ff940e76db422cab7f894.tar.bz2 mpv-a9155c6f97e02b09c93ff940e76db422cab7f894.tar.xz |
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.
-rw-r--r-- | ta/ta.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) { |