Merge branch 'master' of https://github.com/rmitton/stb into working

pull/175/head
Sean Barrett 2015-09-13 05:12:35 -07:00
commit 082289b528
1 changed files with 1 additions and 1 deletions

View File

@ -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");
}