diff options
Diffstat (limited to 'src/encparse.c')
-rw-r--r-- | src/encparse.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/encparse.c b/src/encparse.c index 2263c95..62a889d 100644 --- a/src/encparse.c +++ b/src/encparse.c @@ -1,3 +1,4 @@ +/* $XdotOrg: $ */ /* Copyright (c) 1998-2001 by Juliusz Chroboczek @@ -879,6 +880,7 @@ FontEncReallyReallyLoad(const char *charset, f = FontFileOpen(buf); if(f == NULL) { + fclose(file); return NULL; } encoding = parseEncodingFile(f, 0); |