Patch level : 12.0 no-patch
Files correlati : Commento : Inserite SAFE_DELETE
This commit is contained in:
parent
683725fd11
commit
8d408f4df2
@ -1496,7 +1496,7 @@ void TCursor::filter(
|
|||||||
if (filterchanged)
|
if (filterchanged)
|
||||||
{
|
{
|
||||||
_filter = fil;
|
_filter = fil;
|
||||||
SAFE_DELETE(_fexpr);
|
safe_delete(_fexpr);
|
||||||
_frefs.destroy();
|
_frefs.destroy();
|
||||||
TTypeexp type = (_filter.find('"') >= 0) ? _strexpr : _numexpr;
|
TTypeexp type = (_filter.find('"') >= 0) ? _strexpr : _numexpr;
|
||||||
if (_filter.not_empty())
|
if (_filter.not_empty())
|
||||||
@ -1733,8 +1733,8 @@ TCursor::~TCursor()
|
|||||||
}
|
}
|
||||||
::remove(_indexname);
|
::remove(_indexname);
|
||||||
}
|
}
|
||||||
SAFE_DELETE(_page);
|
SAFE_DELETE(_page);
|
||||||
SAFE_DELETE(_fexpr);
|
SAFE_DELETE(_fexpr);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -3260,8 +3260,8 @@ TSortedfile::TSortedfile(int logicnum, TRelation* rel, const char* ordexpr, cons
|
|||||||
// @mfunc Distruttore
|
// @mfunc Distruttore
|
||||||
TSortedfile::~TSortedfile()
|
TSortedfile::~TSortedfile()
|
||||||
{
|
{
|
||||||
SAFE_DELETE(_curs);
|
SAFE_DELETE(_curs);
|
||||||
SAFE_DELETE(_rel);
|
SAFE_DELETE(_rel);
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
|
Loading…
x
Reference in New Issue
Block a user