fix resource leak

This commit is contained in:
Jacek Jendrzej
2017-12-03 10:47:05 +01:00
parent 77db4a63e3
commit 1f96c8a4d4

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