pidgin: 9d6d2c0c: Fix a crash in purple_accounts_delete th...

rekkanoryo at pidgin.im rekkanoryo at pidgin.im
Sat Dec 6 15:11:19 EST 2008


-----------------------------------------------------------------
Revision: 9d6d2c0c693041ec877bc68b52e9df559a2d662a
Ancestor: 1203a733696f95eef53b04b5078e0a779371b4d3
Author: florian at instantbird.org
Date: 2008-12-06T19:16:21
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/9d6d2c0c693041ec877bc68b52e9df559a2d662a

Modified files:
        libpurple/account.c

ChangeLog: 

Fix a crash in purple_accounts_delete that happens when the buddy list hasn't
yet been initialized.  Fixes #7603.

-------------- next part --------------
============================================================
--- libpurple/account.c	c67de76a1add2367539089326947aeeb7b8aa833
+++ libpurple/account.c	d59224845aa473b7aeb4ebc5dbbb0a1dccfa21c3
@@ -2499,7 +2499,7 @@ purple_accounts_delete(PurpleAccount *ac
 	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;
 


More information about the Commits mailing list