From 900c967912064f5b9363de0f1ee7130dce2a0cd2 Mon Sep 17 00:00:00 2001 From: Tristan Riehs Date: Sun, 16 Nov 2025 09:35:08 +0100 Subject: Make first call to realloc safe --- src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.c b/src/main.c index 1b34d53..d19cffa 100644 --- a/src/main.c +++ b/src/main.c @@ -439,7 +439,7 @@ static void ftag_query(int argc, char **argv) } char *after_date __attribute__((unused)); char *before_date __attribute__((unused)); - char **tags; + char **tags = NULL; int tag_count = 0; while (argc > 0) { if (strcmp(argv[0], "-a") == 0) { -- cgit v1.2.3