# HG changeset patch # User Daniel Atallah # Date 1222911623 0 # Node ID 9c8d73b0f27c45166682794b994e24e4cf28fa3d # Parent 6593855e1ed9260b7967b509fa21b25c4cb31d83 Fix NULL pointer deref. Fixes #7258. Thanks to "jonassa" for noticing. diff -r 6593855e1ed9 -r 9c8d73b0f27c pidgin/gtkaccount.c --- 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;