diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2015-06-07 00:44:31 +0200 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2015-06-07 01:23:52 +0200 |
commit | f8d26c2f18644a560e04961716c561153f16242d (patch) | |
tree | 278a7efc3ae64d63f2664f0f84a8b9caf0009839 | |
parent | 6d16dbb16d4d575a63f30bd1288b616e48598813 (diff) | |
download | xK-f8d26c2f18644a560e04961716c561153f16242d.tar.gz xK-f8d26c2f18644a560e04961716c561153f16242d.tar.xz xK-f8d26c2f18644a560e04961716c561153f16242d.zip |
degesch: fix memory leak
-rw-r--r-- | degesch.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |