[libgdata] contacts: Fix a leak in GDataContactsContact
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgdata] contacts: Fix a leak in GDataContactsContact
- Date: Fri, 10 Dec 2010 17:53:19 +0000 (UTC)
commit e1d394cde3a24b466b3c8d1bb5839b2766eeb0e0
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 a87a403..4cc5ec9 100644
--- a/gdata/services/contacts/gdata-contacts-contact.c
+++ b/gdata/services/contacts/gdata-contacts-contact.c
@@ -934,6 +934,8 @@ get_group_xml_cb (const gchar *href, gpointer deleted, GString *xml_string)
memcpy ((char*) full_pos, "/base/", 6);
gdata_parser_string_append_escaped (xml_string, "<gContact:groupMembershipInfo href='", uri, "'/>");
+
+ g_free (uri);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]