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.
| 2086 | 1 | /* |
| 2 | * Copyright 1986, 1987, 1988 by MIT Information Systems and | |
| 3 | * the MIT Student Information Processing Board. | |
| 4 | * | |
| 5 | * For copyright info, see mit-sipb-copyright.h. | |
| 6 | */ | |
| 7 | ||
| 8 | #include <sysdep.h> | |
| 9 | ||
| 10 | extern struct et_list * _et_list; | |
| 11 |