summaryrefslogtreecommitdiff
path: root/degesch.c
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2015-06-07 00:44:31 +0200
committerPřemysl Janouch <p.janouch@gmail.com>2015-06-07 01:23:52 +0200
commitf8d26c2f18644a560e04961716c561153f16242d (patch)
tree278a7efc3ae64d63f2664f0f84a8b9caf0009839 /degesch.c
parent6d16dbb16d4d575a63f30bd1288b616e48598813 (diff)
downloadxK-f8d26c2f18644a560e04961716c561153f16242d.tar.gz
xK-f8d26c2f18644a560e04961716c561153f16242d.tar.xz
xK-f8d26c2f18644a560e04961716c561153f16242d.zip
degesch: fix memory leak
Diffstat (limited to 'degesch.c')
-rw-r--r--degesch.c3
1 files changed, 2 insertions, 1 deletions
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 (&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