| 1755 g_hash_table_destroy(buddy->node.settings); |
1756 g_hash_table_destroy(buddy->node.settings); |
| 1756 gaim_presence_remove_buddy(buddy->presence, buddy); |
1757 gaim_presence_remove_buddy(buddy->presence, buddy); |
| 1757 gaim_presence_destroy(buddy->presence); |
1758 gaim_presence_destroy(buddy->presence); |
| 1758 g_free(buddy->name); |
1759 g_free(buddy->name); |
| 1759 g_free(buddy->alias); |
1760 g_free(buddy->alias); |
| |
1761 g_free(buddy->server_alias); |
| 1760 g_free(buddy); |
1762 g_free(buddy); |
| 1761 |
1763 |
| 1762 /* If the contact is empty then remove it */ |
1764 /* If the contact is empty then remove it */ |
| 1763 if (!cnode->child) |
1765 if (!cnode->child) |
| 1764 gaim_blist_remove_contact(contact); |
1766 gaim_blist_remove_contact(contact); |
| 1797 if (ops && ops->remove) |
1799 if (ops && ops->remove) |
| 1798 ops->remove(gaimbuddylist, node); |
1800 ops->remove(gaimbuddylist, node); |
| 1799 |
1801 |
| 1800 /* Delete the node */ |
1802 /* Delete the node */ |
| 1801 g_hash_table_destroy(chat->components); |
1803 g_hash_table_destroy(chat->components); |
| |
1804 g_hash_table_destroy(chat->node.settings); |
| 1802 g_free(chat->alias); |
1805 g_free(chat->alias); |
| 1803 g_free(chat); |
1806 g_free(chat); |
| 1804 } |
1807 } |
| 1805 |
1808 |
| 1806 void gaim_blist_remove_group(GaimGroup *group) |
1809 void gaim_blist_remove_group(GaimGroup *group) |
| 1858 if (gaim_connection_get_state(gc) == GAIM_CONNECTED) |
1861 if (gaim_connection_get_state(gc) == GAIM_CONNECTED) |
| 1859 serv_remove_group(gc, group); |
1862 serv_remove_group(gc, group); |
| 1860 } |
1863 } |
| 1861 |
1864 |
| 1862 /* Delete the node */ |
1865 /* Delete the node */ |
| |
1866 g_hash_table_destroy(group->node.settings); |
| 1863 g_free(group->name); |
1867 g_free(group->name); |
| 1864 g_free(group); |
1868 g_free(group); |
| 1865 } |
1869 } |
| 1866 |
1870 |
| 1867 GaimBuddy *gaim_contact_get_priority_buddy(GaimContact *contact) |
1871 GaimBuddy *gaim_contact_get_priority_buddy(GaimContact *contact) |