aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/addressbook-file
diff options
context:
space:
mode:
authorChristian Kellner <gicmo@gnome.org>2006-02-28 19:24:09 +0800
committerAndre Klapper <aklapper@src.gnome.org>2006-02-28 19:24:09 +0800
commit3958832d1dcaf8394ffdd426b9ed5081a4883b60 (patch)
tree319abd3452cec5fdd2ac5bd2ba4a1caf91afec1c /plugins/addressbook-file
parentc8008a3d4766ecb2b0f9d270db7052e5130f09e5 (diff)
downloadgsoc2013-evolution-3958832d1dcaf8394ffdd426b9ed5081a4883b60.tar
gsoc2013-evolution-3958832d1dcaf8394ffdd426b9ed5081a4883b60.tar.gz
gsoc2013-evolution-3958832d1dcaf8394ffdd426b9ed5081a4883b60.tar.bz2
gsoc2013-evolution-3958832d1dcaf8394ffdd426b9ed5081a4883b60.tar.lz
gsoc2013-evolution-3958832d1dcaf8394ffdd426b9ed5081a4883b60.tar.xz
gsoc2013-evolution-3958832d1dcaf8394ffdd426b9ed5081a4883b60.tar.zst
gsoc2013-evolution-3958832d1dcaf8394ffdd426b9ed5081a4883b60.zip
fixing a leak.
2006-02-28 Christian Kellner <gicmo@gnome.org> * evolution/plugins/addressbook-file/addressbook-file.c: * evolution/plugins/calendar-file/calendar-file.c: fixing a leak. svn path=/trunk/; revision=31609
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;
}