Mercurial > pidgin.yaz
changeset 24157:9c8d73b0f27c
Fix NULL pointer deref. Fixes #7258. Thanks to "jonassa" for noticing.
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Thu, 02 Oct 2008 01:40:23 +0000 |
parents | 6593855e1ed9 |
children | 40d03c5388ad |
files | pidgin/gtkaccount.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/pidgin/gtkaccount.c Thu Oct 02 01:29:53 2008 +0000 +++ b/pidgin/gtkaccount.c Thu Oct 02 01:40:23 2008 +0000 @@ -451,7 +451,8 @@ if (dialog->account != NULL) username = g_strdup(purple_account_get_username(dialog->account)); - if (!username && PURPLE_PROTOCOL_PLUGIN_HAS_FUNC(dialog->prpl_info, get_account_text_table)) { + if (!username && dialog->prpl_info + && PURPLE_PROTOCOL_PLUGIN_HAS_FUNC(dialog->prpl_info, get_account_text_table)) { GdkColor color = {0, 34952, 35466, 34181}; GHashTable *table; const char *label;