aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/bbdb
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/bbdb')
-rw-r--r--plugins/bbdb/ChangeLog5
-rw-r--r--plugins/bbdb/gaimbuddies.c3
2 files changed, 8 insertions, 0 deletions
diff --git a/plugins/bbdb/ChangeLog b/plugins/bbdb/ChangeLog
index d8b1378981..1302df7882 100644
--- a/plugins/bbdb/ChangeLog
+++ b/plugins/bbdb/ChangeLog
@@ -1,5 +1,10 @@
2006-08-17 Kjartan Maraas <kmaraas@gnome.org>
+ * gaimbuddies.c: (bbdb_sync_buddy_list_check): Don't leak
+ the file path here.
+
+2006-08-17 Kjartan Maraas <kmaraas@gnome.org>
+
* bbdb.c: (bbdb_open_addressbook),
(create_addressbook_option_menu): Plug a couple leaks.
diff --git a/plugins/bbdb/gaimbuddies.c b/plugins/bbdb/gaimbuddies.c
index 51ca8bcec7..e98dadaeb1 100644
--- a/plugins/bbdb/gaimbuddies.c
+++ b/plugins/bbdb/gaimbuddies.c
@@ -92,10 +92,13 @@ bbdb_sync_buddy_list_check (void)
blist_path = g_build_path ("/", getenv ("HOME"), ".gaim/blist.xml", NULL);
if (stat (blist_path, &statbuf) < 0) {
+ g_free (blist_path);
g_object_unref (G_OBJECT (gconf));
return;
}
+ g_free (blist_path);
+
/* Reprocess the buddy list if it's been updated. */
last_sync_str = gconf_client_get_string (gconf, GCONF_KEY_GAIM_LAST_SYNC, NULL);
if (last_sync_str == NULL || ! strcmp (last_sync_str, ""))