# HG changeset patch # User Paul Aurich # Date 1241406852 0 # Node ID 73eeb91911f300d77cc8cd8cb39a5c561fbc374d # Parent 9cb95f21979d89b1e2139a1bfc8642a5685e8fdf Break the links before telling the UI to remove the node diff -r 9cb95f21979d -r 73eeb91911f3 libpurple/blist.c --- a/libpurple/blist.c Mon May 04 02:57:02 2009 +0000 +++ b/libpurple/blist.c Mon May 04 03:14:12 2009 +0000 @@ -2732,6 +2732,10 @@ } /* 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);