Free read-event properly in tgln_free
This commit is contained in:
parent
6a401eb4bd
commit
363c170550
1 changed files with 1 additions and 1 deletions
|
@ -335,7 +335,7 @@ static void fail_connection (struct connection *c) {
|
|||
c->write_ev = -1;
|
||||
}
|
||||
if (c->read_ev >= 0) {
|
||||
purple_input_remove (c->write_ev);
|
||||
purple_input_remove (c->read_ev);
|
||||
c->read_ev = -1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue