summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2015-08-11 13:21:54 +0200
committerThomas Haller <thaller@redhat.com>2015-08-13 10:06:43 +0200
commit205bb86ead22a62488991cb1b764056062d05d62 (patch)
tree62e83383dcbfd38f30dd1e037cbc398df82d3848
parent97c971b4e44b31ca0afdf547751d5d7ddc110e4c (diff)
downloadNetworkManager-205bb86ead22a62488991cb1b764056062d05d62.tar.gz
active-connection: log lifetime of NMActiveConenction
-rw-r--r--src/nm-active-connection.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/nm-active-connection.c b/src/nm-active-connection.c
index 285acba03a..c9b299a7d9 100644
--- a/src/nm-active-connection.c
+++ b/src/nm-active-connection.c
@@ -734,8 +734,12 @@ nm_active_connection_init (NMActiveConnection *self)
static void
constructed (GObject *object)
{
+ NMActiveConnection *self = (NMActiveConnection *) object;
+
G_OBJECT_CLASS (nm_active_connection_parent_class)->constructed (object);
g_assert (NM_ACTIVE_CONNECTION_GET_PRIVATE (object)->subject);
+
+ _LOGD ("constructed (%s)", G_OBJECT_TYPE_NAME (self));
}
static void
@@ -887,6 +891,8 @@ dispose (GObject *object)
NMActiveConnection *self = NM_ACTIVE_CONNECTION (object);
NMActiveConnectionPrivate *priv = NM_ACTIVE_CONNECTION_GET_PRIVATE (self);
+ _LOGD ("disposing");
+
if (priv->chain) {
nm_auth_chain_unref (priv->chain);
priv->chain = NULL;