pidgin: 770205b6: Break the links before telling the UI to...
darkrain42 at pidgin.im
darkrain42 at pidgin.im
Sun May 3 23:15:32 EDT 2009
-----------------------------------------------------------------
Revision: 770205b6d0969fd1ee6fd19af0d64dc03f3a21f6
Ancestor: 48f64a452d992965cd118c1c8fc3e321c6d3bdf7
Author: darkrain42 at pidgin.im
Date: 2009-05-04T03:14:12
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/770205b6d0969fd1ee6fd19af0d64dc03f3a21f6
Modified files:
libpurple/blist.c
ChangeLog:
Break the links before telling the UI to remove the node
-------------- next part --------------
============================================================
--- libpurple/blist.c 22936dc5c180a9eee59d5b09bea8dc9e8240872a
+++ libpurple/blist.c 01642a98e686f6a20b9c4777145637a45241024b
@@ -2732,6 +2732,10 @@ purple_blist_node_destroy(PurpleBlistNod
}
/* Allow the UI to free data */
+ node->parent = NULL;
+ node->child = NULL;
+ node->next = NULL;
+ node->prev = NULL;
if (ui_ops && ui_ops->remove)
ui_ops->remove(purplebuddylist, node);
More information about the Commits
mailing list