Don't try to close the stream if fopen(3) fails.

PR:		bin/155349
Submitted by:	Urankar Mikael
This commit is contained in:
Jaakko Heinonen 2011-06-01 15:48:43 +00:00
parent 88eb7833cb
commit b2ce2d693f
1 changed files with 1 additions and 1 deletions

View File

@ -226,10 +226,10 @@ get_font(void)
}
}
}
fclose(fp);
} else
fprintf(stderr, "Could not open %s for reading\n", sysconfig);
fclose(fp);
return fnt;
}