Fixed a memory leak in dcpss.c on the "err_conv" array

This commit is contained in:
Francesco Lannutti 2013-01-12 14:10:21 +01:00
parent 2d1d0e71df
commit d448378f58
1 changed files with 3 additions and 0 deletions

View File

@ -839,6 +839,7 @@ DCpss(CKTcircuit *ckt,
FREE (RHS_copy_der) ;
FREE (RHS_max) ;
FREE (RHS_min) ;
FREE (err_conv) ;
FREE (psstimes) ;
FREE (pssvalues) ;
return (E_PANIC) ; /* to be corrected with definition of new error macro in iferrmsg.h */
@ -854,6 +855,7 @@ DCpss(CKTcircuit *ckt,
FREE (RHS_copy_der) ;
FREE (RHS_max) ;
FREE (RHS_min) ;
FREE (err_conv) ;
FREE (psstimes) ;
FREE (pssvalues) ;
return (E_PANIC) ; /* to be corrected with definition of new error macro in iferrmsg.h */
@ -1116,6 +1118,7 @@ DCpss(CKTcircuit *ckt,
FREE (RHS_copy_der) ;
FREE (RHS_max) ;
FREE (RHS_min) ;
FREE (err_conv) ;
FREE (psstimes) ;
FREE (pssvalues) ;
return (OK) ;