diff options
author | Krisztian Litkey <krisztian.litkey@nokia.com> | 2010-11-26 12:28:22 +0200 |
---|---|---|
committer | Krisztian Litkey <krisztian.litkey@nokia.com> | 2010-11-26 12:28:22 +0200 |
commit | a9c98a26cbc5f04ee349f251f9055f3e83f4aff1 (patch) | |
tree | 5fabd20d21e1873042b5390b367f32af9ed6e7a6 | |
parent | 7a7e131d30aa8c95c50644a479ad5a45862bf1c9 (diff) |
Free input buffer during cleanup.
-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)); } |