Fixed a memory leak in dcpss.c on the "err_conv" array
This commit is contained in:
parent
2d1d0e71df
commit
d448378f58
|
|
@ -839,6 +839,7 @@ DCpss(CKTcircuit *ckt,
|
||||||
FREE (RHS_copy_der) ;
|
FREE (RHS_copy_der) ;
|
||||||
FREE (RHS_max) ;
|
FREE (RHS_max) ;
|
||||||
FREE (RHS_min) ;
|
FREE (RHS_min) ;
|
||||||
|
FREE (err_conv) ;
|
||||||
FREE (psstimes) ;
|
FREE (psstimes) ;
|
||||||
FREE (pssvalues) ;
|
FREE (pssvalues) ;
|
||||||
return (E_PANIC) ; /* to be corrected with definition of new error macro in iferrmsg.h */
|
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_copy_der) ;
|
||||||
FREE (RHS_max) ;
|
FREE (RHS_max) ;
|
||||||
FREE (RHS_min) ;
|
FREE (RHS_min) ;
|
||||||
|
FREE (err_conv) ;
|
||||||
FREE (psstimes) ;
|
FREE (psstimes) ;
|
||||||
FREE (pssvalues) ;
|
FREE (pssvalues) ;
|
||||||
return (E_PANIC) ; /* to be corrected with definition of new error macro in iferrmsg.h */
|
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_copy_der) ;
|
||||||
FREE (RHS_max) ;
|
FREE (RHS_max) ;
|
||||||
FREE (RHS_min) ;
|
FREE (RHS_min) ;
|
||||||
|
FREE (err_conv) ;
|
||||||
FREE (psstimes) ;
|
FREE (psstimes) ;
|
||||||
FREE (pssvalues) ;
|
FREE (pssvalues) ;
|
||||||
return (OK) ;
|
return (OK) ;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue