Mercurial > pidgin.yaz
diff libpurple/blist.c @ 25399:8958393be615
propagate from branch 'im.pidgin.pidgin' (head f49b0bab604f956eb4f9fce3a103320497cd40e5)
to branch 'im.pidgin.pidgin.next.minor' (head 4f8748faa3551f9475017bfe39dd11ff5e560cf0)
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Wed, 21 Jan 2009 18:34:32 +0000 |
parents | a6e3cb32cdd2 08a2a4029f20 |
children | 584063555949 |
line wrap: on
line diff
--- a/libpurple/blist.c Thu Jan 15 22:46:15 2009 +0000 +++ b/libpurple/blist.c Wed Jan 21 18:34:32 2009 +0000 @@ -1862,7 +1862,7 @@ PurpleGroup *group; struct _purple_hbuddy hb; PurplePlugin *prpl; - PurplePluginProtocolInfo *prpl_info; + PurplePluginProtocolInfo *prpl_info = NULL; g_return_if_fail(buddy != NULL); @@ -1923,7 +1923,8 @@ * can free proto_data */ prpl = purple_find_prpl(purple_account_get_protocol_id(buddy->account)); - prpl_info = PURPLE_PLUGIN_PROTOCOL_INFO(prpl); + if (prpl) + prpl_info = PURPLE_PLUGIN_PROTOCOL_INFO(prpl); if (prpl_info && prpl_info->buddy_free) prpl_info->buddy_free(buddy);