diff options
author | kevlo <kevlo@FreeBSD.org> | 2010-11-29 09:21:26 +0000 |
---|---|---|
committer | kevlo <kevlo@FreeBSD.org> | 2010-11-29 09:21:26 +0000 |
commit | d18de91c1542bcaca1b2facf1c1b456948dfc466 (patch) | |
tree | 7b36150ae8961a3700bbb4bfeeb163eec8dbfdeb /usr.sbin | |
parent | 838a278ef3df1cdd1bdba1455a182a57459c4ed4 (diff) | |
download | FreeBSD-src-d18de91c1542bcaca1b2facf1c1b456948dfc466.zip FreeBSD-src-d18de91c1542bcaca1b2facf1c1b456948dfc466.tar.gz |
Fix fd leak in get_font
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/kbdmap/kbdmap.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/kbdmap/kbdmap.c b/usr.sbin/kbdmap/kbdmap.c index 474553d..cb00c6d 100644 --- a/usr.sbin/kbdmap/kbdmap.c +++ b/usr.sbin/kbdmap/kbdmap.c @@ -229,6 +229,7 @@ get_font(void) } else fprintf(stderr, "Could not open %s for reading\n", sysconfig); + fclose(fp); return fnt; } |