Tue, 02 Sep 2003 06:05:37 +0000
[gaim-migrate @ 7232] Don't crash when trying to get the parent group of a buddy that is not yet in a group.
--- a/src/blist.c Tue Sep 02 05:12:45 2003 +0000 +++ b/src/blist.c Tue Sep 02 06:05:37 2003 +0000 @@ -1131,6 +1131,10 @@ { if (!buddy) return NULL; + + if (((GaimBlistNode *)buddy)->parent == NULL) + return NULL; + return (GaimGroup *)(((GaimBlistNode*)buddy)->parent->parent); }