degesch: fix memory leak
This commit is contained in:
parent
6d16dbb16d
commit
f8d26c2f18
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user