提交 082289b5 编写于 作者: S Sean Barrett

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

......@@ -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");
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册