From 44c0882015dac22bfd6f554dbb3b25326ba8e25c Mon Sep 17 00:00:00 2001 From: vanhofen Date: Sat, 27 Jan 2018 13:29:15 +0100 Subject: [PATCH] Revert "yaft/tools/bdf.h fix resource leak" This reverts commit 1209e7055e9c2dcb8d230c140e94113faeabdd00. Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/6be0b18d24351daacf2781f60a85ec5a28f28ed4 Author: vanhofen Date: 2018-01-27 (Sat, 27 Jan 2018) ------------------ This commit was generated by Migit --- src/gui/widget/yaft/tools/bdf.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/gui/widget/yaft/tools/bdf.h b/src/gui/widget/yaft/tools/bdf.h index 30d094c5f..82924cd64 100644 --- a/src/gui/widget/yaft/tools/bdf.h +++ b/src/gui/widget/yaft/tools/bdf.h @@ -62,8 +62,6 @@ 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)