mirror of
https://github.com/id-Software/DOOM-3-BFG.git
synced 2025-03-13 22:22:05 +00:00
Merge branch 'memory-fixes'
This commit is contained in:
commit
502f8f78a3
1 changed files with 13 additions and 13 deletions
|
@ -104,8 +104,8 @@ idODE_Midpoint::~idODE_Midpoint
|
|||
*/
|
||||
idODE_Midpoint::~idODE_Midpoint()
|
||||
{
|
||||
delete tmpState;
|
||||
delete derivatives;
|
||||
delete[] tmpState;
|
||||
delete[] derivatives;
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -166,11 +166,11 @@ idODE_RK4::~idODE_RK4
|
|||
*/
|
||||
idODE_RK4::~idODE_RK4()
|
||||
{
|
||||
delete tmpState;
|
||||
delete d1;
|
||||
delete d2;
|
||||
delete d3;
|
||||
delete d4;
|
||||
delete[] tmpState;
|
||||
delete[] d1;
|
||||
delete[] d2;
|
||||
delete[] d3;
|
||||
delete[] d4;
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -246,12 +246,12 @@ idODE_RK4Adaptive::~idODE_RK4Adaptive
|
|||
*/
|
||||
idODE_RK4Adaptive::~idODE_RK4Adaptive()
|
||||
{
|
||||
delete tmpState;
|
||||
delete d1;
|
||||
delete d1half;
|
||||
delete d2;
|
||||
delete d3;
|
||||
delete d4;
|
||||
delete[] tmpState;
|
||||
delete[] d1;
|
||||
delete[] d1half;
|
||||
delete[] d2;
|
||||
delete[] d3;
|
||||
delete[] d4;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue