mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 09:21:09 +02:00
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:
@@ -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