Mercurial > octave-nkf
diff src/npsol.cc @ 260:74d73a4b3fc7
[project @ 1993-12-14 23:57:42 by jwe]
author | jwe |
---|---|
date | Tue, 14 Dec 1993 23:59:04 +0000 |
parents | 98246fedc941 |
children | 7ec58832918f |
line wrap: on
line diff
--- a/src/npsol.cc Tue Dec 14 22:21:35 1993 +0000 +++ b/src/npsol.cc Tue Dec 14 23:59:04 1993 +0000 @@ -86,6 +86,7 @@ { error ("npsol: error evaluating objective function"); npsol_objective_error = 1; // XXX FIXME XXX + delete [] tmp; return retval; } @@ -163,6 +164,7 @@ if (error_state) { + delete [] tmp; error ("npsol: error evaluating constraints"); return retval; }