mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 16:01:20 +02:00
src/gui/update_ext.cpp: Fix memleak (Thx SatBaby)
- rename enum's 'RESET_Fxx' => 'CLOSE_Fxx'
This commit is contained in:
@@ -39,15 +39,17 @@ class CExtUpdate
|
||||
enum
|
||||
{
|
||||
RESET_UNLOAD = 1,
|
||||
RESET_FD1 = 2,
|
||||
RESET_FD2 = 4,
|
||||
RESET_F1 = 8
|
||||
CLOSE_FD1 = 2,
|
||||
CLOSE_FD2 = 4,
|
||||
CLOSE_F1 = 8,
|
||||
DELETE_MTDBUF = 16
|
||||
};
|
||||
std::string imgFilename;
|
||||
std::string mtdRamError;
|
||||
int mtdNumber;
|
||||
int fd1, fd2;
|
||||
FILE *f1;
|
||||
char *MTDBuf;
|
||||
std::string mtdramDriver;
|
||||
std::string backupList, defaultBackup;
|
||||
std::string mountPkt;
|
||||
|
Reference in New Issue
Block a user