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); }