diff options
author | James Booth <boothj5@gmail.com> | 2013-09-22 23:24:54 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2013-09-23 00:09:05 +0100 |
commit | 9ea85475fe2d7d4e34ef11c45772ef2da33db49c (patch) | |
tree | f29839fbb9ff81b50d8e95ed8f1e1e60032673ee /src | |
parent | e3e1341c9a1d175251975447c05d0872e644ecc3 (diff) | |
download | profani-tty-9ea85475fe2d7d4e34ef11c45772ef2da33db49c.tar.gz |
Fixed memory leak in _cmd_connect
issue #226
Diffstat (limited to 'src')
-rw-r--r-- | src/command/command.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/command/command.c b/src/command/command.c index 711f94e9..9ece5964 100644 --- a/src/command/command.c +++ b/src/command/command.c @@ -1368,6 +1368,7 @@ _cmd_connect(gchar **args, struct cmd_help_t help) cons_show("Connecting as %s", jid); conn_status = jabber_connect_with_details(jid, passwd, altdomain); } + g_free(lower); if (conn_status == JABBER_DISCONNECTED) { cons_show_error("Connection attempt for %s failed.", jid); |