mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 15:32:59 +02:00
fix resource leak
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