diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2010-03-04 17:32:17 +0000 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2010-03-09 14:40:50 +0000 |
commit | 9cc5f93f913896c7053c78b09d1f745cfebd58cd (patch) | |
tree | 59de98ad1815d087016fa29045e72504913a3239 | |
parent | 1e939837150b7c111300d2a201ac930470817bd9 (diff) |
TpBaseConnectionManager: chain up correctly in dispose
Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
-rw-r--r-- | telepathy-glib/base-connection-manager.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/telepathy-glib/base-connection-manager.c b/telepathy-glib/base-connection-manager.c index ab7be8fa6..41bf9c79e 100644 --- a/telepathy-glib/base-connection-manager.c +++ b/telepathy-glib/base-connection-manager.c @@ -215,11 +215,16 @@ tp_base_connection_manager_dispose (GObject *object) { TpBaseConnectionManager *self = TP_BASE_CONNECTION_MANAGER (object); TpBaseConnectionManagerPrivate *priv = self->priv; + GObjectFinalizeFunc dispose = + G_OBJECT_CLASS (tp_base_connection_manager_parent_class)->dispose; if (priv->dispose_has_run) return; priv->dispose_has_run = TRUE; + + if (dispose != NULL) + dispose (object); } static void |