From 78bf3e039d77e3eb0d5e394273adb69b2b70a76d Mon Sep 17 00:00:00 2001 From: Kimplul Date: Mon, 17 Mar 2025 02:12:02 +0200 Subject: detect leaks --- src/debug.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/debug.c') diff --git a/src/debug.c b/src/debug.c index 1f4d3a8..b13a459 100644 --- a/src/debug.c +++ b/src/debug.c @@ -177,6 +177,10 @@ static void _type_str(FILE *f, struct type *type) return; switch (type->k) { + case TYPE_ERR: + fprintf(f, "err"); + break; + case TYPE_VOID: fprintf(f, "void"); break; -- cgit v1.2.3