Merge branch 'wip/desrt/gsocketclient-leak' into 'master'

gsocketclient: Fix a leak in the connection code

Closes #1774

See merge request GNOME/glib!824
This commit is contained in:
Philip Withnall
2019-05-09 16:53:22 +00:00

View File

@@ -1616,6 +1616,7 @@ g_socket_client_connected_callback (GObject *source,
set_last_error (data, error);
connection_attempt_remove (attempt);
enumerator_next_async (data, FALSE);
connection_attempt_unref (attempt);
}
else
{