[libgdata/libgdata-0-6] contacts: Fix a leak in GDataContactsContact
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgdata/libgdata-0-6] contacts: Fix a leak in GDataContactsContact
- Date: Sat, 11 Dec 2010 01:03:46 +0000 (UTC)
commit 5a0651135e2e0a58f126781acdb11f41855ad4e1
Author: Philip Withnall <philip tecnocode co uk>
Date: Fri Dec 10 11:30:43 2010 +0000
contacts: Fix a leak in GDataContactsContact
gdata/services/contacts/gdata-contacts-contact.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gdata/services/contacts/gdata-contacts-contact.c b/gdata/services/contacts/gdata-contacts-contact.c
index 08a1fee..37261d3 100644
--- a/gdata/services/contacts/gdata-contacts-contact.c
+++ b/gdata/services/contacts/gdata-contacts-contact.c
@@ -456,6 +456,8 @@ get_group_xml_cb (const gchar *href, gpointer deleted, GString *xml_string)
memcpy ((char*) full_pos, "/base/", 6);
g_string_append_printf (xml_string, "<gContact:groupMembershipInfo href='%s'/>", uri);
+
+ g_free (uri);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]