Free read-event properly in tgln_free

This commit is contained in:
mjentsch 2014-11-15 01:14:29 +01:00
parent 6a401eb4bd
commit 363c170550

View file

@ -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;
}