fix resource leak

Origin commit data
------------------
Commit: 1f96c8a4d4
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2017-12-03 (Sun, 03 Dec 2017)
This commit is contained in:
Jacek Jendrzej
2017-12-03 10:47:05 +01:00
parent 7f3527e349
commit 89516e3326

View File

@@ -649,6 +649,7 @@ int CFlashUpdate::exec(CMenuTarget* parent, const std::string &actionKey)
c[0] = fgetc(f); c[0] = fgetc(f);
printf("[update] Current partition: %s\n", c); printf("[update] Current partition: %s\n", c);
} }
fcolse(f);
} }
// select partition // select partition