From f8d26c2f18644a560e04961716c561153f16242d Mon Sep 17 00:00:00 2001 From: PÅ™emysl Janouch Date: Sun, 7 Jun 2015 00:44:31 +0200 Subject: degesch: fix memory leak --- degesch.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/degesch.c b/degesch.c index 8b71d59..5f3a656 100644 --- a/degesch.c +++ b/degesch.c @@ -5134,11 +5134,12 @@ irc_process_numeric (struct server *s, // Join the parameter vector back, recode it to our internal encoding // and send it to the server buffer char *reconstructed = join_str_vector (©, ' '); - str_vector_free (©); buffer_send (s->ctx, buffer, BUFFER_LINE_STATUS, 0, .text = irc_to_utf8 (s->ctx, reconstructed)); free (reconstructed); } + + str_vector_free (©); } static void -- cgit v1.2.3-70-g09d2