Commit 5c75c9aa authored by george's avatar george

removed more leaks in calcDerivatives

git-svn-id: https://www.dynare.org/svn/dynare/trunk@3204 ac1d8469-bf42-47a9-8791-bf33cf982152
parent 12d7abab
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment