mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
GSocketClient: fix a crash on cancellation
some code rearrangement when adding proxy support resulted in trying to use a GSocket that wasn't there. https://bugzilla.gnome.org/show_bug.cgi?id=628296
This commit is contained in:
parent
b8ff287167
commit
a3cc274fc6
@ -1083,6 +1083,9 @@ g_socket_client_socket_callback (GSocket *socket,
|
||||
data->current_socket = NULL;
|
||||
g_cancellable_set_error_if_cancelled (data->cancellable,
|
||||
&data->last_error);
|
||||
|
||||
g_socket_client_async_connect_complete (data);
|
||||
return FALSE;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user