From ecb984e93f9be1c91eda0eaecc63e166504b724a Mon Sep 17 00:00:00 2001
From: "Sven M. Hallberg" <pesco@khjk.org>
Date: Tue, 28 Mar 2023 17:44:10 +0000
Subject: [PATCH] expand a comment

---
 pdf.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/pdf.c b/pdf.c
index 93a1efa..e8e3392 100644
--- a/pdf.c
+++ b/pdf.c
@@ -4927,7 +4927,8 @@ parse_xrefs(struct Env *aux)
 
 	for (;;) {
 		//res = h_parse(p_xref, input + offset, sz - offset);
-		HParser *p = h_right(h_seek(offset * 8, SEEK_SET), p_xref);	// XXX
+		HParser *p = h_right(h_seek(offset * 8, SEEK_SET), p_xref);
+			// XXX ^ creating any number of parsers we never free
 		res = h_parse(p, input, sz);
 		if (res == NULL || res->ast == NULL || H_INDEX_TOKEN(res->ast, 0) == NULL) {
 			log_message(5, "VIOLATION[5]: error parsing xref section at "
-- 
GitLab