From 8477ef0afa4eb5f739b7a10795fdf08f11d2f414 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Fri, 13 Feb 2026 16:19:57 -0500 Subject: Fix memory leak when reading a comment --- src/lib/core/utils.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/core/utils.c b/src/lib/core/utils.c index 2cfebdf..00d747f 100644 --- a/src/lib/core/utils.c +++ b/src/lib/core/utils.c @@ -1017,6 +1017,7 @@ static int read_vcs_records(const size_t line, char **data) { // Ignore file comment(s) if (startswith(data_local, "#") || startswith(data_local, ";")) { // continue + guard_free(data_local); return 1; } -- cgit