Mercurial > pidgin
comparison src/blist.c @ 12860:a35edda11737
[gaim-migrate @ 15211]
SF Patch #1404712 from Glauber de Oliveira Costa
Fixes SF Bug #1403876:
"Gaim cvs segfaults if user is deleted after status change"
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Fri, 13 Jan 2006 17:33:17 +0000 |
parents | eda1572c788b |
children | b503265495f7 |
comparison
equal
deleted
inserted
replaced
12859:02e1ef5bc3d5 | 12860:a35edda11737 |
---|---|
1805 g_free(buddy->server_alias); | 1805 g_free(buddy->server_alias); |
1806 | 1806 |
1807 GAIM_DBUS_UNREGISTER_POINTER(buddy); | 1807 GAIM_DBUS_UNREGISTER_POINTER(buddy); |
1808 g_free(buddy); | 1808 g_free(buddy); |
1809 | 1809 |
1810 while (g_source_remove_by_user_data((gpointer *)buddy)); | |
1811 | |
1810 /* If the contact is empty then remove it */ | 1812 /* If the contact is empty then remove it */ |
1811 if (!cnode->child) | 1813 if (!cnode->child) |
1812 gaim_blist_remove_contact(contact); | 1814 gaim_blist_remove_contact(contact); |
1813 } | 1815 } |
1814 | 1816 |