[libgdata] [contacts] Fix use of uninitialised memory



commit c06ae0489b53c7f54fd78e2e7526067b78bf07ea
Author: Philip Withnall <philip tecnocode co uk>
Date:   Tue May 4 00:09:56 2010 +0100

    [contacts] Fix use of uninitialised memory

 gdata/services/contacts/gdata-contacts-contact.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gdata/services/contacts/gdata-contacts-contact.c b/gdata/services/contacts/gdata-contacts-contact.c
index b47781d..fa0591e 100644
--- a/gdata/services/contacts/gdata-contacts-contact.c
+++ b/gdata/services/contacts/gdata-contacts-contact.c
@@ -2798,7 +2798,7 @@ get_groups_cb (const gchar *href, gpointer deleted, GList **groups)
 GList *
 gdata_contacts_contact_get_groups (GDataContactsContact *self)
 {
-	GList *groups;
+	GList *groups = NULL;
 
 	g_return_val_if_fail (GDATA_IS_CONTACTS_CONTACT (self), NULL);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]