frontend/measure.c, remove memory leak

This commit is contained in:
h_vogt 2016-07-30 15:54:24 +02:00 committed by rlar
parent 4047a794e7
commit 9ab2960e87
1 changed files with 2 additions and 0 deletions

View File

@ -116,6 +116,7 @@ com_meas(wordlist *wl)
fprintf(stdout,
" meas %s failed!\n"
" unspecified output var name\n\n", line_in);
tfree(line_in);
return;
}
outvar = wl_count->wl_word;
@ -124,6 +125,7 @@ com_meas(wordlist *wl)
if (fail) {
fprintf(stdout, " meas %s failed!\n\n", line_in);
tfree(line_in);
return;
}