purple: do not use gc as handle for TCP connects
commit4df8d18a6f6496ed9bff28bade0bc486c92e1e6a
authorStefan Becker <chemobejk@gmail.com>
Tue, 13 Jan 2015 14:26:38 +0000 (13 16:26 +0200)
committerStefan Becker <chemobejk@gmail.com>
Tue, 13 Jan 2015 14:26:38 +0000 (13 16:26 +0200)
tree8914bdc8abfcf5e7ef443a72651b42d087540c13
parent39a6ea68b0c9485923f9d03db0a7958166b17e19
purple: do not use gc as handle for TCP connects

libpurple automatically cancels all pending proxy connects which have gc
as handle, thus leaving us with an invalid transport->proxy value that
leads to a crash in our cleanup code.

Detected when closing Pidgin while EWS autodiscover was trying to
connect to a http://...:80 URL.
src/purple/purple-transport.c