fix a memory leak

This commit is contained in:
Holger Vogt 2018-08-09 20:22:33 +02:00
parent 6ed10583f2
commit 9db2bf3d69
1 changed files with 1 additions and 0 deletions

View File

@ -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