about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2015-06-24 20:24:39 +0100
committerJames Booth <boothj5@gmail.com>2015-06-24 20:24:39 +0100
commit626ab51ed4bcef7a97b717e7a20c6ad20b4c0ea5 (patch)
treeb7c50d7aadd63d7df211789581b54f61afd4c57b /src
parent48a2cad8fd504227b42a72abeac8dd2c84816e5f (diff)
downloadprofani-tty-626ab51ed4bcef7a97b717e7a20c6ad20b4c0ea5.tar.gz
free account after account connect
Diffstat (limited to 'src')
-rw-r--r--src/command/commands.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/command/commands.c b/src/command/commands.c
index 65fdeb98..c4f9ae84 100644
--- a/src/command/commands.c
+++ b/src/command/commands.c
@@ -238,6 +238,7 @@ cmd_connect(ProfWin *window, gchar **args, struct cmd_help_t help)
         }
 
         jid = account_create_full_jid(account);
+        account_free(account);
 
     // connect with JID
     } else {