return immediately if ckt is NULL
This commit is contained in:
parent
8b8f7ab5b9
commit
5f05d217ac
|
|
@ -28,6 +28,9 @@ CKTdestroy(CKTcircuit *ckt)
|
|||
CKTnode *node;
|
||||
CKTnode *nnode;
|
||||
|
||||
if (!ckt)
|
||||
return (E_NOTFOUND);
|
||||
|
||||
|
||||
#ifdef WANT_SENSE2
|
||||
if(ckt->CKTsenInfo){
|
||||
|
|
|
|||
Loading…
Reference in New Issue