aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;
}