aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/addressbook-file
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/addressbook-file')
-rw-r--r--plugins/addressbook-file/ChangeLog4
-rw-r--r--plugins/addressbook-file/addressbook-file.c8
2 files changed, 8 insertions, 4 deletions
diff --git a/plugins/addressbook-file/ChangeLog b/plugins/addressbook-file/ChangeLog
index 2dce8fb4f5..c44ddb846c 100644
--- a/plugins/addressbook-file/ChangeLog
+++ b/plugins/addressbook-file/ChangeLog
@@ -1,3 +1,7 @@
+2006-02-28 Christian Kellner <gicmo@gnome.org>
+
+ * addressbook-file.c: fixing a leak.
+
2005-12-25 Funda Wang <fundawang@linux.net.cn>
* Makefile.am: Mark this plugin as translatable (bug#301149).
diff --git a/plugins/addressbook-file/addressbook-file.c b/plugins/addressbook-file/addressbook-file.c
index 8320a31db5..3a237c1fe0 100644
--- a/plugins/addressbook-file/addressbook-file.c
+++ b/plugins/addressbook-file/addressbook-file.c
@@ -42,14 +42,14 @@ e_book_file_dummy (EPlugin *epl, EConfigHookItemFactoryData *data)
}
relative_uri = e_source_peek_relative_uri (source);
- if (relative_uri && *relative_uri) {
- g_free (uri_text);
-
+ g_free (uri_text);
+
+
+ if (relative_uri && *relative_uri) {
return NULL;
}
e_source_set_relative_uri (source, e_source_peek_uid (source));
- uri_text = e_source_get_uri (source);
return NULL;
}