Don't try to close the stream if fopen(3) fails.
PR: bin/155349 Submitted by: Urankar Mikael
This commit is contained in:
parent
88eb7833cb
commit
b2ce2d693f
@ -226,10 +226,10 @@ get_font(void)
|
||||
}
|
||||
}
|
||||
}
|
||||
fclose(fp);
|
||||
} else
|
||||
fprintf(stderr, "Could not open %s for reading\n", sysconfig);
|
||||
|
||||
fclose(fp);
|
||||
return fnt;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user