diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-10-21 13:33:40 +0200 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-10-21 15:05:43 +0200 |
commit | 6083adb1d18ec1b344c0106eee56e9c5ce998849 (patch) | |
tree | 13b9ff4b9c6807067fd2f8d1e3f2aae65547c263 | |
parent | 59a4562c685964c1bd0b9ccf09a70e2643b8eebd (diff) |
base-client: don't leak features
-rw-r--r-- | telepathy-glib/base-client.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/telepathy-glib/base-client.c b/telepathy-glib/base-client.c index 2a2d5b3fd..3a28afa98 100644 --- a/telepathy-glib/base-client.c +++ b/telepathy-glib/base-client.c @@ -934,6 +934,10 @@ tp_base_client_finalize (GObject *object) g_free (self->priv->bus_name); g_free (self->priv->object_path); + tp_clear_pointer (&self->priv->account_features, g_array_unref); + tp_clear_pointer (&self->priv->connection_features, g_array_unref); + tp_clear_pointer (&self->priv->channel_features, g_array_unref); + if (finalize != NULL) finalize (object); } |