Changeset 1e52e1f for ipc.c


Ignore:
Timestamp:
2010-07-11T10:30:27Z (9 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
af9f2ca
Parents:
e92c4f4
Message:

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.)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ipc.c

    re92c4f4 r1e52e1f  
    324324                                   "Would you like to take over this session?",
    325325                                   ipc_child_cmd_takeover_yes,
    326                                    ipc_child_cmd_takeover_no, irc );
     326                                   ipc_child_cmd_takeover_no, NULL, irc );
    327327               
    328328                /* This one's going to connect to accounts, avoid that. */
Note: See TracChangeset for help on using the changeset viewer.