Mercurial > pidgin
changeset 32204:cd2254bf8fa9
I don't know why this happens, but I keep getting a critical debug
message because account->presence is NULL, and it's annoying me when
I set fatal-criticals.
author | Elliott Sales de Andrade <qulogic@pidgin.im> |
---|---|
date | Thu, 22 Sep 2011 07:02:44 +0000 |
parents | 64793e55488e |
children | 305fc5850321 |
files | libpurple/account.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/account.c Wed Sep 21 21:37:37 2011 +0000 +++ b/libpurple/account.c Thu Sep 22 07:02:44 2011 +0000 @@ -1086,7 +1086,8 @@ purple_account_set_status_types(account, NULL); - purple_presence_destroy(account->presence); + if (account->presence) + purple_presence_destroy(account->presence); if(account->system_log) purple_log_free(account->system_log);