Spostata la distruzione della maschera e dell' oggetto config nella destroy
git-svn-id: svn://10.65.10.50/trunk@5708 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
f4c94caa8c
commit
123aec65dc
@ -31,6 +31,8 @@ bool TConfig_application::create()
|
|||||||
bool TConfig_application::destroy()
|
bool TConfig_application::destroy()
|
||||||
{
|
{
|
||||||
bool b = user_destroy();
|
bool b = user_destroy();
|
||||||
|
if (_m) delete _m;
|
||||||
|
if (_cnf) delete _cnf;
|
||||||
TApplication::destroy();
|
TApplication::destroy();
|
||||||
return b;
|
return b;
|
||||||
}
|
}
|
||||||
@ -53,8 +55,6 @@ bool TConfig_application::user_create()
|
|||||||
|
|
||||||
bool TConfig_application::user_destroy()
|
bool TConfig_application::user_destroy()
|
||||||
{
|
{
|
||||||
if (_m) delete _m;
|
|
||||||
if (_cnf) delete _cnf;
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user