From 21c0111fe3fa51cce2f8677f8a6f5d1602422021 Mon Sep 17 00:00:00 2001
From: Pompolic <pompolic@special-circumstanc.es>
Date: Thu, 10 Mar 2022 21:47:56 +0100
Subject: [PATCH] Return empty HBytes instead of NULL

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

diff --git a/pdf.c b/pdf.c
index fb2f740..80a196c 100644
--- a/pdf.c
+++ b/pdf.c
@@ -1170,7 +1170,7 @@ act_rldstring(const HParseResult *p, void *u)
 	}
 	else
 	{
-		return NULL;
+		return H_MAKE_BYTES(NULL, 0);
 	}
 }
 
-- 
GitLab