fix resource leak

Origin commit data
------------------
Branch: ni/coolstream
Commit: 1f96c8a4d4
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2017-12-03 (Sun, 03 Dec 2017)


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

------------------
This commit was generated by Migit
This commit is contained in:
Jacek Jendrzej
2017-12-03 10:47:05 +01:00
parent af96137caa
commit 7ab6e86e7c

View File

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