Mercurial > pidgin
changeset 20789:6736c1168c50
Leak fix.
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Fri, 05 Oct 2007 16:22:03 +0000 |
parents | c3f27488c344 |
children | 871a67790848 16d372f412e3 |
files | libpurple/protocols/msn/contact.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/protocols/msn/contact.c Fri Oct 05 14:13:59 2007 +0000 +++ b/libpurple/protocols/msn/contact.c Fri Oct 05 16:22:03 2007 +0000 @@ -208,7 +208,7 @@ /*get MSN member role utility*/ static MsnListId -msn_get_memberrole(char *role) +msn_get_memberrole(const char *role) { g_return_val_if_fail(role != NULL, 0); @@ -532,8 +532,8 @@ } } } - g_free(typedata); /* Free 'Type' node data after processing 'Messenger' Service */ } + g_free(typedata); } xmlnode_free(node); /* Free the whole XML tree */