Skip to content
Snippets Groups Projects
Commit 5c75c9aa authored by george's avatar george
Browse files

removed more leaks in calcDerivatives

git-svn-id: https://www.dynare.org/svn/dynare/trunk@3204 ac1d8469-bf42-47a9-8791-bf33cf982152
parent 12d7abab
Branches
Tags
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment