mirror of
https://github.com/nothings/stb
synced 2024-12-15 04:22:35 +03:00
Merge branch 'master' of https://github.com/rmitton/stb into working
This commit is contained in:
commit
082289b528
@ -2746,7 +2746,7 @@ static int stbi__process_frame_header(stbi__jpeg *z, int scan)
|
||||
if (z->img_comp[i].raw_data == NULL) {
|
||||
for(--i; i >= 0; --i) {
|
||||
STBI_FREE(z->img_comp[i].raw_data);
|
||||
z->img_comp[i].data = NULL;
|
||||
z->img_comp[i].raw_data = NULL;
|
||||
}
|
||||
return stbi__err("outofmem", "Out of memory");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user