mirror of https://github.com/nothings/stb.git
Merge branch 'patch-1' of https://github.com/bryongloden/stb into working
commit
e77673f4aa
|
@ -800,6 +800,8 @@ int main(int argc, char **argv)
|
||||||
stb_lexer lex;
|
stb_lexer lex;
|
||||||
if (len < 0) {
|
if (len < 0) {
|
||||||
fprintf(stderr, "Error opening file\n");
|
fprintf(stderr, "Error opening file\n");
|
||||||
|
free(text);
|
||||||
|
fclose(f);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
fclose(f);
|
fclose(f);
|
||||||
|
|
Loading…
Reference in New Issue