summaryrefslogtreecommitdiffstats
path: root/ta
diff options
context:
space:
mode:
authorThomas Weißschuh <thomas@t-8ch.de>2022-08-29 21:19:16 +0200
committerPhilip Langdale <github.philipl@overt.org>2022-09-11 20:24:42 -0700
commita9155c6f97e02b09c93ff940e76db422cab7f894 (patch)
tree5ac0a32be59726a394db892888651720f3e1c00f /ta
parent535cd6f3130a179890505535b1cb06998a9cb07f (diff)
downloadmpv-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.
Diffstat (limited to 'ta')
-rw-r--r--ta/ta.c2
1 files changed, 1 insertions, 1 deletions
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) {