mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 16:31:05 +02:00
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:
@@ -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
|
||||||
|
Reference in New Issue
Block a user