mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 16:31:05 +02:00
src/gui/update_ext.cpp: Fix memleak (Thx SatBaby)
- rename enum's 'RESET_Fxx' => 'CLOSE_Fxx'
Origin commit data
------------------
Branch: ni/coolstream
Commit: 61d36266c8
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-07-19 (Fri, 19 Jul 2013)
------------------
This commit was generated by Migit
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