Browse Source

runcoms2.c: plug memory leak during remcirc

pre-master-46
h_vogt 13 years ago
committed by rlar
parent
commit
5f6f53f9ad
  1. 1
      src/frontend/runcoms2.c

1
src/frontend/runcoms2.c

@ -215,6 +215,7 @@ com_remcirc(wordlist *wl)
if_cktfree(ft_curckt->ci_ckt, ft_curckt->ci_symtab);
for (v = ft_curckt->ci_vars; v; v = next) {
next = v->va_next;
tfree(v->va_name);
tfree(v);
}
ft_curckt->ci_vars = NULL;

Loading…
Cancel
Save