Memory leak: free term->answerback in term_free().

Not a large leak as these things go, but valgrind's error dump for a
memory leak is just as annoying regardless of the size of the leaked
object!
This commit is contained in:
Simon Tatham 2017-11-26 08:45:37 +00:00
Родитель 4d15d46473
Коммит 90a402c017
1 изменённых файлов: 1 добавлений и 0 удалений

Просмотреть файл

@ -1739,6 +1739,7 @@ void term_free(Terminal *term)
sfree(term->ltemp);
sfree(term->wcFrom);
sfree(term->wcTo);
sfree(term->answerback);
for (i = 0; i < term->bidi_cache_size; i++) {
sfree(term->pre_bidi_cache[i].chars);