]> git.0d.be Git - empathy.git/commitdiff
Plug some leaks
authorCosimo Cecchi <cosimoc@gnome.org>
Mon, 14 Sep 2009 15:16:15 +0000 (17:16 +0200)
committerCosimo Cecchi <cosimoc@gnome.org>
Mon, 14 Sep 2009 15:19:09 +0000 (17:19 +0200)
libempathy/empathy-account-settings.c
libempathy/empathy-contact.c

index bd62191ad75829c9b18d7910e946febc7b8babaf..33029a9d9b1920a69829725bbee4dad048c4b2d3 100644 (file)
@@ -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);
index aaa35d9e9fa48e2fbe47f4e042c16bac06b0c9b0..0a097bb4d667f6e3b29a132b01c207b9073fbf3a 100644 (file)
@@ -953,6 +953,8 @@ empathy_contact_load_avatar_cache (EmpathyContact *contact,
       empathy_avatar_unref (avatar);
     }
 
+  g_free (filename);
+
   return data != NULL;
 }