diff options
author | Emanuele Giaquinta <exg@irssi.org> | 2008-05-23 09:59:59 +0000 |
---|---|---|
committer | exg <exg@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2008-05-23 09:59:59 +0000 |
commit | 3236daa97a342903ba988d9395e7fe8222d41e12 (patch) | |
tree | 727813c40106f387ce572b5938ff8d2a817ce27c /src/irc | |
parent | 54f5beb8f5b0c98db5363f006e9d46753f30a704 (diff) | |
download | irssi-3236daa97a342903ba988d9395e7fe8222d41e12.zip |
Fix leaks.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4845 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/irc')
-rw-r--r-- | src/irc/core/irc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/irc/core/irc.c b/src/irc/core/irc.c index 636bb0df..8ec7c4af 100644 --- a/src/irc/core/irc.c +++ b/src/irc/core/irc.c @@ -86,8 +86,7 @@ void irc_send_cmd_full(IRC_SERVER_REC *server, const char *cmd, if (send_now) { irc_server_send_data(server, cmd, len); - return; - } + } else { /* add to queue */ if (immediate) { @@ -101,6 +100,7 @@ void irc_send_cmd_full(IRC_SERVER_REC *server, const char *cmd, server->cmdqueue = g_slist_append(server->cmdqueue, server->redirect_next); } + } server->redirect_next = NULL; g_free(params); g_free(recoded_line); |