aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKjartan Maraas <kmaraas@gnome.org>2006-08-17 17:14:59 +0800
committerKjartan Maraas <kmaraas@src.gnome.org>2006-08-17 17:14:59 +0800
commit9be58dae801c595cce46f1fd6b336ad0d9578fce (patch)
treef9496c545dd977b56b0aeeb741f3f66da267e26a
parentf735ecf48fa74e6fd0fc80fe855960983aa7c596 (diff)
downloadgsoc2013-evolution-9be58dae801c595cce46f1fd6b336ad0d9578fce.tar.gz
gsoc2013-evolution-9be58dae801c595cce46f1fd6b336ad0d9578fce.tar.zst
gsoc2013-evolution-9be58dae801c595cce46f1fd6b336ad0d9578fce.zip
Plug a leak.
2006-08-17 Kjartan Maraas <kmaraas@gnome.org> * gui/component/addressbook-component.c: (impl_requestCreateItem): Plug a leak. svn path=/trunk/; revision=32562
-rw-r--r--addressbook/ChangeLog5
-rw-r--r--addressbook/gui/component/addressbook-component.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index 3e802b18fc..de10262f02 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,3 +1,8 @@
+2006-08-17 Kjartan Maraas <kmaraas@gnome.org>
+
+ * gui/component/addressbook-component.c: (impl_requestCreateItem):
+ Plug a leak.
+
2006-08-09 Ushveen Kaur <kushveen@novell.com>
** Fixes bug #261239
diff --git a/addressbook/gui/component/addressbook-component.c b/addressbook/gui/component/addressbook-component.c
index ad99d22fc9..a70ce8bb73 100644
--- a/addressbook/gui/component/addressbook-component.c
+++ b/addressbook/gui/component/addressbook-component.c
@@ -306,6 +306,7 @@ impl_requestCreateItem (PortableServer_Servant servant,
g_object_unref (gconf_client);
if (!e_book_get_addressbooks (&source_list, NULL)) {
g_warning ("Could not get addressbook source list from GConf!");
+ g_free (uid);
return;
}
if (uid) {