aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2009-09-14 23:16:15 +0800
committerCosimo Cecchi <cosimoc@gnome.org>2009-09-14 23:19:09 +0800
commitfe0dd31c143abf6fa1e9a0a9c14f92508617d218 (patch)
treeb5ec5b9f1bfe29a8fffecce071a5044208b44e77
parent178e57939162526089e56b8bd033ca2dcbb8f943 (diff)
downloadgsoc2013-empathy-fe0dd31c143abf6fa1e9a0a9c14f92508617d218.tar
gsoc2013-empathy-fe0dd31c143abf6fa1e9a0a9c14f92508617d218.tar.gz
gsoc2013-empathy-fe0dd31c143abf6fa1e9a0a9c14f92508617d218.tar.bz2
gsoc2013-empathy-fe0dd31c143abf6fa1e9a0a9c14f92508617d218.tar.lz
gsoc2013-empathy-fe0dd31c143abf6fa1e9a0a9c14f92508617d218.tar.xz
gsoc2013-empathy-fe0dd31c143abf6fa1e9a0a9c14f92508617d218.tar.zst
gsoc2013-empathy-fe0dd31c143abf6fa1e9a0a9c14f92508617d218.zip
Plug some leaks
-rw-r--r--libempathy/empathy-account-settings.c3
-rw-r--r--libempathy/empathy-contact.c2
2 files changed, 5 insertions, 0 deletions
diff --git a/libempathy/empathy-account-settings.c b/libempathy/empathy-account-settings.c
index bd62191ad..33029a9d9 100644
--- a/libempathy/empathy-account-settings.c
+++ b/libempathy/empathy-account-settings.c
@@ -338,6 +338,9 @@ empathy_account_settings_finalize (GObject *object)
g_free (priv->display_name);
g_free (priv->icon_name);
+ if (priv->required_params != NULL)
+ g_array_free (priv->required_params, TRUE);
+
g_hash_table_destroy (priv->parameters);
empathy_account_settings_free_unset_parameters (self);
diff --git a/libempathy/empathy-contact.c b/libempathy/empathy-contact.c
index aaa35d9e9..0a097bb4d 100644
--- a/libempathy/empathy-contact.c
+++ b/libempathy/empathy-contact.c
@@ -953,6 +953,8 @@ empathy_contact_load_avatar_cache (EmpathyContact *contact,
empathy_avatar_unref (avatar);
}
+ g_free (filename);
+
return data != NULL;
}