Browse Source

prevent crash if premature exit (without ckt)

pre-master-46
Holger Vogt 6 years ago
parent
commit
027b342a9c
  1. 3
      src/frontend/runcoms2.c

3
src/frontend/runcoms2.c

@ -243,7 +243,8 @@ com_remcirc(wordlist *wl)
#if defined(XSPICE) && defined(SIMULATOR)
/* remove event queues, if XSPICE and not nutmeg */
EVTunsetup(ft_curckt->ci_ckt);
if (ft_curckt->ci_ckt)
EVTunsetup(ft_curckt->ci_ckt);
#endif
if_cktfree(ft_curckt->ci_ckt, ft_curckt->ci_symtab);

Loading…
Cancel
Save