1
0
mirror of https://github.com/nothings/stb synced 2025-03-14 16:21:12 -04:00
This commit is contained in:
abortabort 2017-03-21 00:39:08 +00:00 committed by GitHub
commit f4ce713519

View File

@ -4867,7 +4867,7 @@ static void *stbi__do_png(stbi__png *p, int *x, int *y, int *n, int req_comp, st
}
*x = p->s->img_x;
*y = p->s->img_y;
if (n) *n = p->s->img_n;
if (n) *n = p->s->img_out_n;
}
STBI_FREE(p->out); p->out = NULL;
STBI_FREE(p->expanded); p->expanded = NULL;