From a9c98a26cbc5f04ee349f251f9055f3e83f4aff1 Mon Sep 17 00:00:00 2001 From: Krisztian Litkey Date: Fri, 26 Nov 2010 12:28:22 +0200 Subject: Free input buffer during cleanup. --- client/client.c | 1 + 1 file changed, 1 insertion(+) diff --git a/client/client.c b/client/client.c index 07408eb..a46ab14 100644 --- a/client/client.c +++ b/client/client.c @@ -251,6 +251,7 @@ static void destroy_input(void) { g_source_remove(input.evsrc); g_io_channel_unref(input.chan); + free(input.buf); memset(&input, 0, sizeof(input_t)); } -- cgit v1.2.3