From cdba4ae9360c555c8ca1e70720a8dde1632d89f8 Mon Sep 17 00:00:00 2001 From: Ikko Ashimine Date: Sat, 19 Nov 2022 16:26:41 +0900 Subject: [PATCH] Fix typo in stb_image.h (#4358) exitting -> exiting --- src/stb_image.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stb_image.h b/src/stb_image.h index 35e20150b..6aad778ab 100644 --- a/src/stb_image.h +++ b/src/stb_image.h @@ -4851,7 +4851,7 @@ static int stbi__expand_png_palette(stbi__png *a, stbi_uc *palette, int len, int p = (stbi_uc *) stbi__malloc_mad2(pixel_count, pal_img_n, 0); if (p == NULL) return stbi__err("outofmem", "Out of memory"); - // between here and free(out) below, exitting would leak + // between here and free(out) below, exiting would leak temp_out = p; if (pal_img_n == 3) {