libpurple/protocols/facebook/facebook.c

branch
facebook
changeset 37368
ed868baac87d
parent 37365
b70cc4d02d68
child 37374
00dd525c43a2
equal deleted inserted replaced
37367:e0df3850e9c2 37368:ed868baac87d
260 continue; 260 continue;
261 } 261 }
262 262
263 bdy = purple_blist_find_buddy(acct, uid); 263 bdy = purple_blist_find_buddy(acct, uid);
264 264
265 if (purple_buddy_get_group(bdy) == grpn) { 265 if ((bdy != NULL) && (purple_buddy_get_group(bdy) == grpn)) {
266 purple_blist_remove_buddy(bdy); 266 purple_blist_remove_buddy(bdy);
267 bdy = NULL; 267 bdy = NULL;
268 } 268 }
269 269
270 if (bdy == NULL) { 270 if (bdy == NULL) {

mercurial