From 6c2dd193cf852a7a7ddca9dccff51b0f7908f9e3 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Mon, 9 Mar 2026 14:34:58 +0000 Subject: [PATCH] Fix memory leak in sixel_parse() on error path, from Renaud Allard in GitHub issue 4916. --- image-sixel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/image-sixel.c b/image-sixel.c index 5c800461..f6eaade3 100644 --- a/image-sixel.c +++ b/image-sixel.c @@ -357,7 +357,7 @@ sixel_parse(const char *buf, size_t len, u_int p2, u_int xpixel, u_int ypixel) return (si); bad: - free(si); + sixel_free(si); return (NULL); }