diff options
-rw-r--r-- | client/client.c | 1 |
1 files changed, 1 insertions, 0 deletions
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)); } |