yaft/tools/bdf.h fix resource leak

Origin commit data
------------------
Commit: a3a85e47b9
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2018-01-23 (Tue, 23 Jan 2018)
This commit is contained in:
Jacek Jendrzej
2018-01-23 15:47:20 +01:00
committed by vanhofen
parent e21e047251
commit c26b5fc103

View File

@@ -62,6 +62,8 @@ void load_table(char *path, enum encode_t encode)
sscanf(buf, "%X %X", (unsigned int *) &from, (unsigned int *) &to);
convert_table[from] = to;
}
if(fp)
efclose(fp);
}
int read_header(char *buf, struct bdf_header_t *bdf_header)