mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 17:18:32 +00:00
Fix fd leak in get_font
This commit is contained in:
parent
f6fa0b2b95
commit
b77a4a441b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=216047
|
@ -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 a new issue