Merge branch 'backport-824-socketclient-leak-glib-2-60' into 'glib-2-60'

Backport !824 “gsocketclient: Fix a leak in the connection code” to glib-2-60

See merge request GNOME/glib!826
This commit is contained in:
Michael Catanzaro 2019-05-09 20:22:38 +00:00
commit 2b42205193

View File

@ -1615,6 +1615,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
{