Mon, 28 Feb 2011 07:12:27 +0000
Fix a memleak in the MSN prpl when removing a buddy from your buddy list.
We needed to call msn_user_unref() after calling msn_userlist_remove_user()
I chose to fix this by changing msn_userlist_add_user() and
msn_userlist_remove_user() to incremend and decrement the reference counter
themselves--after all, they ARE the ones who add/remove a reference to
the MsnUser struct. Conceptually I thought this made the most sense.
/* * zephyr_err.h: * This file is automatically generated; please do not edit it. */ #define ZERR_PKTLEN (-772103680L) #define ZERR_HEADERLEN (-772103679L) #define ZERR_ILLVAL (-772103678L) #define ZERR_HMPORT (-772103677L) #define ZERR_PORTINUSE (-772103676L) #define ZERR_BADPKT (-772103675L) #define ZERR_VERS (-772103674L) #define ZERR_NOPORT (-772103673L) #define ZERR_NONOTICE (-772103672L) #define ZERR_QLEN (-772103671L) #define ZERR_HMDEAD (-772103670L) #define ZERR_INTERNAL (-772103669L) #define ZERR_NOLOCATIONS (-772103668L) #define ZERR_NOMORELOCS (-772103667L) #define ZERR_FIELDLEN (-772103666L) #define ZERR_BADFIELD (-772103665L) #define ZERR_SERVNAK (-772103664L) #define ZERR_AUTHFAIL (-772103663L) #define ZERR_LOGINFAIL (-772103662L) #define ZERR_NOSUBSCRIPTIONS (-772103661L) #define ZERR_NOMORESUBSCRIPTIONS (-772103660L) #define ZERR_TOOMANYSUBS (-772103659L) #define ZERR_EOF (-772103658L) void initialize_zeph_error_table (void); #define ERROR_TABLE_BASE_zeph (-772103680L) /* for compatibility with older versions... */ #define init_zeph_err_tbl initialize_zeph_error_table #define zeph_err_base ERROR_TABLE_BASE_zeph