the scrollback if you then leak away all the memory you saved!) One
of the leaks - by far the bigger of the two - was in my temporary
diagnostic function cc_check(), which is particularly embarrassing :-)
git-svn-id: http://svn.tartarus.org/sgt/putty@4638
cda61777-01e9-0310-a592-
d414129be87e
j += (flags[i] != 0);
assert(j == line->size);
+
+ sfree(flags);
}
/*
addpos234(term->scrollback, compressline(line), sblen);
- line = newline(term, term->cols, TRUE);
+ /* now `line' itself can be reused as the bottom line */
/*
* If the user is currently looking at part of the