removed more leaks in calcDerivatives
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3204 ac1d8469-bf42-47a9-8791-bf33cf982152time-shift
parent
12d7abab24
commit
5c75c9aaee
|
@ -93,6 +93,8 @@ KordpDynare::~KordpDynare()
|
|||
delete dsnl;
|
||||
if (denl)
|
||||
delete denl;
|
||||
if (JacobianIndices)
|
||||
delete JacobianIndices;
|
||||
}
|
||||
|
||||
/** This clears the container of model derivatives and initializes it
|
||||
|
@ -180,6 +182,7 @@ KordpDynare::calcDerivatives(const Vector &yy, const Vector &xx) throw (DynareEx
|
|||
populateDerivativesContainer(g3, 3, JacobianIndices);
|
||||
delete g3;
|
||||
}
|
||||
delete llxYYp;
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Reference in New Issue