diff options
author | Thomas Haller <thaller@redhat.com> | 2014-07-10 00:00:56 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2015-02-03 13:01:52 +0100 |
commit | 6cb5db60de292fc4493b9f799819641bb56942c6 (patch) | |
tree | 470d2e3adfb5276872b7ac30f6ab6ce490997bd0 | |
parent | 205c109741b822e9475994b74232b6bf64d4f16d (diff) | |
download | NetworkManager-6cb5db60de292fc4493b9f799819641bb56942c6.tar.gz |
connectivity: add code comment to nm_connectivity_check_cb()
-rw-r--r-- | src/nm-connectivity.c | 1 |
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--; |