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:
rlar 2018-02-04 13:36:35 +01:00
parent cd95ad62f2
commit 57f9804db6
1 changed files with 1 additions and 0 deletions

View File

@ -63,6 +63,7 @@ int $(module)delete(GENmodel *inModel, IFuid name, GENinstance **inInst)
FREE(here);
return(OK);
}
prev = &(here->$(module)nextInstance);
}
}