devices/adms/admst/ngspiceMODULEdel.c.xml, bug fix, endless loop
A missing update of "prev" would cause endless looping
when searching for a device instance.
introduced in commit:
> commit 38e68869a2
> Date: Wed Mar 1 14:30:24 2006 +0000
>
> Added mdel, del and dest functions to interface.
This commit is contained in:
parent
cd95ad62f2
commit
57f9804db6
|
|
@ -63,6 +63,7 @@ int $(module)delete(GENmodel *inModel, IFuid name, GENinstance **inInst)
|
|||
FREE(here);
|
||||
return(OK);
|
||||
}
|
||||
prev = &(here->$(module)nextInstance);
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue