зеркало из https://github.com/github/putty.git
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:
Родитель
4d15d46473
Коммит
90a402c017
|
@ -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);
|
||||
|
|
Загрузка…
Ссылка в новой задаче