pidgin: 226696b5: I don't know why this happens, but I kee...

qulogic at pidgin.im qulogic at pidgin.im
Thu Sep 22 03:50:47 EDT 2011


----------------------------------------------------------------------
Revision: 226696b5236f22bf0a49fa58684105ef6fd19592
Parent:   7c389d19c8f8832186d158682adeae992b0fa547
Author:   qulogic at pidgin.im
Date:     09/22/11 03:02:44
Branch:   im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/226696b5236f22bf0a49fa58684105ef6fd19592

Changelog: 

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.

Changes against parent 7c389d19c8f8832186d158682adeae992b0fa547

  patched  libpurple/account.c

-------------- next part --------------
============================================================
--- libpurple/account.c	59a6ed318506128f498663be77a1d48cf4a3e6f1
+++ libpurple/account.c	2898297883946d144e0def502023d62feb701c9d
@@ -1086,7 +1086,8 @@ purple_account_destroy(PurpleAccount *ac
 
 	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);


More information about the Commits mailing list