dvtm

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

commit a0b62642f4a82819a9798777fb3a9b230f040b0f
parent cc8f1e8cd69d99b840d141c38eb46503765f8e2e
Author: Marc Andre Tanner <mat@brain-dump.org>
Date:   Fri, 30 Nov 2012 10:43:34 +0100

Destroy all clients before exiting

This is not strictly neccessary because the operating system
will clean up after us anyway but it simplifies memleak analysis
with valgrind somewhat.

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

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

diff --git a/dvtm.c b/dvtm.c @@ -671,6 +671,8 @@ destroy(Client *c) { static void cleanup() { + while (clients) + destroy(clients); vt_shutdown(); endwin(); if (bar.fd > 0)