GSocketClient: plug two leaks
authorDan Winship <danw@gnome.org>
Sat, 14 Aug 2010 20:15:39 +0000 (16:15 -0400)
committerDan Winship <danw@gnome.org>
Sat, 14 Aug 2010 20:15:39 +0000 (16:15 -0400)
commitb76b24f1b3f82c2400cce8948b44ae32aa0e23ee
treeddf8e6b89ccd2f3974a5da421bf7f386458c348e
parent16bafb479995e69417b86b5b26682ec7c2ceb5a0
GSocketClient: plug two leaks

g_socket_client_connect_async() was always leaking its GCancellable,
and would also leak any GSocket that eventually failed to connect
after returning G_IO_ERROR_PENDING.
gio/gsocketclient.c