Browse Source

Fix typo in stb_image.h (#4358)

exitting -> exiting
tags/20221128
Ikko Ashimine GitHub 3 years ago
parent
commit
cdba4ae936
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/stb_image.h

+ 1
- 1
src/stb_image.h View File

@@ -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) {


Loading…
Cancel
Save