diff --git a/src/chat/main/client.c b/src/chat/main/client.c index d9ca115..6c8dff7 100644 --- a/src/chat/main/client.c +++ b/src/chat/main/client.c @@ -61,6 +61,7 @@ int main(void) } } + pthread_cancel(thread_buffer); free(line); return 0; } \ No newline at end of file