From c4928358135c21bdad8b3a15296e4d3a63aa7780 Mon Sep 17 00:00:00 2001 From: Sara Date: Wed, 13 Sep 2023 10:37:00 +0200 Subject: [PATCH] headers are now freed after use --- src/kwil.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/kwil.c b/src/kwil.c index 217b3cc..1d7ba2d 100644 --- a/src/kwil.c +++ b/src/kwil.c @@ -22,6 +22,8 @@ int main(int argc, char* argv[]) { kwil_header_generate(&headers[header_index]); } + free(headers); + return 0; }