mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-14 15:56:13 +03:00
@ -4962,7 +4962,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);
|
p = (stbi_uc *) stbi__malloc_mad2(pixel_count, pal_img_n, 0);
|
||||||
if (p == NULL) return stbi__err("outofmem", "Out of memory");
|
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;
|
temp_out = p;
|
||||||
|
|
||||||
if (pal_img_n == 3) {
|
if (pal_img_n == 3) {
|
||||||
|
Reference in New Issue
Block a user