# HG changeset patch # User Florian Quze # Date 1228590981 0 # Node ID eacf48c09ccc1243bb35299b844fcd54e6a77b8b # Parent 918738a0bba48f5219bb55c73e62500ae2584a2d Fix a crash in purple_accounts_delete that happens when the buddy list hasn't yet been initialized. Fixes #7603. committer: John Bailey diff -r 918738a0bba4 -r eacf48c09ccc libpurple/account.c --- a/libpurple/account.c Sat Dec 06 13:30:06 2008 +0000 +++ b/libpurple/account.c Sat Dec 06 19:16:21 2008 +0000 @@ -2499,7 +2499,7 @@ purple_accounts_remove(account); /* Remove this account's buddies */ - for (gnode = purple_get_blist()->root; gnode != NULL; gnode = gnode->next) { + for (gnode = purple_blist_get_root(); gnode != NULL; gnode = gnode->next) { if (!PURPLE_BLIST_NODE_IS_GROUP(gnode)) continue;