Fix fd leak in get_font
This commit is contained in:
parent
838a278ef3
commit
d18de91c15
@ -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