dvtm

dynamic virtual terminal manager - with my changes
git clone https://pi.duncano.de/git/dvtm.git
Log | Files | Refs | README | LICENSE

commit fccaea247f2147de0aede0af5fb04066d78e69c8
parent 26339c8c01d8c826ea92d8f71ce95730264cfe59
Author: Marc Andre Tanner <mat@brain-dump.org>
Date:   Thu, 26 May 2011 20:20:40 +0200

madtty: free color information when resizing

Signed-off-by: Marc Andre Tanner <mat@brain-dump.org>

Diffstat:
madtty.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/madtty.c b/madtty.c @@ -1156,6 +1156,8 @@ void madtty_resize(madtty_t *t, int rows, int cols) while (t->rows > rows) { free(lines[t->rows - 1].text); free(lines[t->rows - 1].attr); + free(lines[t->rows - 1].fg); + free(lines[t->rows - 1].bg); t->rows--; }