Mercurial > pidgin.yaz
comparison libpurple/protocols/msn/userlist.c @ 22808:f62a4a7fe365
Fix a number of leaks. As far as I can tell, MSNP14 now logs in without
leaking.
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Sat, 03 May 2008 23:51:43 +0000 |
parents | cc8903c59d6b |
children | 5cdd93dac7a2 d756a0477c06 |
comparison
equal
deleted
inserted
replaced
22807:0b11895cc564 | 22808:f62a4a7fe365 |
---|---|
347 if (list_op & MSN_LIST_FL_OP) | 347 if (list_op & MSN_LIST_FL_OP) |
348 { | 348 { |
349 GSList *c; | 349 GSList *c; |
350 for (c = group_ids; c != NULL; c = g_slist_next(c)) | 350 for (c = group_ids; c != NULL; c = g_slist_next(c)) |
351 { | 351 { |
352 char *group_id; | 352 char *group_id = c->data; |
353 group_id = c->data; | |
354 msn_user_add_group_id(user, group_id); | 353 msn_user_add_group_id(user, group_id); |
355 } | 354 } |
356 | 355 |
357 /* FIXME: It might be a real alias */ | 356 /* FIXME: It might be a real alias */ |
358 /* Umm, what? This might fix bug #1385130 */ | 357 /* Umm, what? This might fix bug #1385130 */ |