Skip to content

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

We miss releasing the async operation's reference on a state object in one of the error cases.

The call to connection_attempt_remove() (although it calls unref internally) is not sufficient because this is releasing the reference that the list owns.

Closes #1774 (closed)

Backport of !824 (merged).

Merge request reports