summaryrefslogtreecommitdiff
path: root/src/nm-connectivity.c
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2014-07-10 00:00:56 +0200
committerThomas Haller <thaller@redhat.com>2015-02-03 13:01:52 +0100
commit6cb5db60de292fc4493b9f799819641bb56942c6 (patch)
tree470d2e3adfb5276872b7ac30f6ab6ce490997bd0 /src/nm-connectivity.c
parent205c109741b822e9475994b74232b6bf64d4f16d (diff)
downloadNetworkManager-6cb5db60de292fc4493b9f799819641bb56942c6.tar.gz
connectivity: add code comment to nm_connectivity_check_cb()
Diffstat (limited to 'src/nm-connectivity.c')
-rw-r--r--src/nm-connectivity.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nm-connectivity.c b/src/nm-connectivity.c
index d21626735f..7f99f92f93 100644
--- a/src/nm-connectivity.c
+++ b/src/nm-connectivity.c
@@ -112,6 +112,7 @@ nm_connectivity_check_cb (SoupSession *session, SoupMessage *msg, gpointer user_
const char *nm_header;
self = NM_CONNECTIVITY (g_async_result_get_source_object (G_ASYNC_RESULT (simple)));
+ /* it is safe to unref @self here, @simple holds yet another reference. */
g_object_unref (self);
priv = NM_CONNECTIVITY_GET_PRIVATE (self);
priv->pending_checks--;