Mercurial > pidgin.yaz
changeset 13495:8f299b9cd184
[gaim-migrate @ 15871]
ui_ops can theoretically be NULL. We check for that with every use. We missed this one.
Resolves CID 93
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Mon, 13 Mar 2006 18:31:21 +0000 |
parents | 2d1ccccde3d4 |
children | d2aadcdbec6c |
files | src/blist.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/blist.c Mon Mar 13 17:58:43 2006 +0000 +++ b/src/blist.c Mon Mar 13 18:31:21 2006 +0000 @@ -1208,7 +1208,8 @@ ops->remove(gaimbuddylist, cnode); /* ops->remove() cleaned up the cnode's ui_data, so we need to * reinitialize it */ - ops->new_node(cnode); + if (ops && ops->new_node) + ops->new_node(cnode); gaim_blist_schedule_save(); }