Browse Source

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.
pre-master-46
rlar 8 years ago
parent
commit
57f9804db6
  1. 1
      src/spicelib/devices/adms/admst/ngspiceMODULEdel.c.xml

1
src/spicelib/devices/adms/admst/ngspiceMODULEdel.c.xml

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

Loading…
Cancel
Save