yaft/tools/bdf.h fix resource leak

Origin commit data
------------------
Branch: ni/coolstream
Commit: a3a85e47b9
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2018-01-23 (Tue, 23 Jan 2018)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Jacek Jendrzej
2018-01-23 15:47:20 +01:00
committed by vanhofen
parent 43ae666c13
commit 1209e7055e

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)