yaft/tools/bdf.h fix resource leak

This commit is contained in:
Jacek Jendrzej
2018-01-23 15:47:20 +01:00
parent 78d4b2e4c8
commit 044e3c7766

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)