mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 16:01:20 +02:00
yaft/tools/bdf.h fix resource leak
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user