Browse Source

fix a memory leak

pre-master-46
Holger Vogt 8 years ago
parent
commit
9db2bf3d69
  1. 1
      src/xspice/enh/enhtrans.c

1
src/xspice/enh/enhtrans.c

@ -132,6 +132,7 @@ ENHtranslate_poly(
card = TMALLOC(char, strlen(d->line) + 2);
strcpy(card,"*");
strcat(card, d->line);
tfree(d->line);
d->line = card;
#ifdef TRACE

Loading…
Cancel
Save