Skip to content

Commit

Permalink
Fix typo in stb_image.h (#4358)
Browse files Browse the repository at this point in the history
exitting -> exiting
  • Loading branch information
eltociear authored Nov 19, 2022
1 parent 1b83fe4 commit cdba4ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stb_image.h
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit cdba4ae

Please sign in to comment.