degesch: fix memory leak

This commit is contained in:
Přemysl Eric Janouch 2015-06-07 00:44:31 +02:00
parent 6d16dbb16d
commit f8d26c2f18

View File

@ -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 (&copy, ' ');
str_vector_free (&copy);
buffer_send (s->ctx, buffer, BUFFER_LINE_STATUS, 0,
.text = irc_to_utf8 (s->ctx, reconstructed));
free (reconstructed);
}
str_vector_free (&copy);
}
static void