diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2010-07-11 11:30:27 +0100 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2010-07-11 11:30:27 +0100 |
commit | 1e52e1ff518987092cfe94bc5c9c4479ed535019 (patch) | |
tree | 59a0f7c6725f37703797b8825058356ec6bf1f27 /ipc.c | |
parent | e92c4f4f63ca0ba9ac6f959f7ff894ad2fc72a04 (diff) |
When cleaning up queries, q->data is free()d. Even if it turns out to be
the "struct irc" containing all data belonging to a session. Sanitise
memory management a little bit here. (There are some memory leaks in here
too that need to be fixed at some point.)
Diffstat (limited to 'ipc.c')
-rw-r--r-- | ipc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -323,7 +323,7 @@ static void ipc_child_cmd_takeover( irc_t *irc, char **cmd ) "You're already connected to this server. " "Would you like to take over this session?", ipc_child_cmd_takeover_yes, - ipc_child_cmd_takeover_no, irc ); + ipc_child_cmd_takeover_no, NULL, irc ); /* This one's going to connect to accounts, avoid that. */ b_event_remove( irc->login_source_id ); |