Fix fd leak in get_font
This commit is contained in:
parent
f6fa0b2b95
commit
b77a4a441b
@ -229,6 +229,7 @@ get_font(void)
|
||||
} else
|
||||
fprintf(stderr, "Could not open %s for reading\n", sysconfig);
|
||||
|
||||
fclose(fp);
|
||||
return fnt;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user