Mercurial > pidgin
changeset 22829:3c98c25b076b
Fix incorrect freeing in my previous commit.
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Sat, 03 May 2008 19:22:02 +0000 |
parents | 7d3b2c023ad8 |
children | f15d9ded0c45 |
files | libpurple/protocols/msn/contact.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/protocols/msn/contact.c Sat May 03 17:56:04 2008 +0000 +++ b/libpurple/protocols/msn/contact.c Sat May 03 19:22:02 2008 +0000 @@ -495,6 +495,7 @@ xmlnode *messenger_enabled; char *is_messenger_enabled = NULL; + g_free(mobile_number); mobile_number = xmlnode_get_data(number); if (mobile_number && @@ -503,7 +504,6 @@ && !strcmp(is_messenger_enabled, "true")) mobile = TRUE; - g_free(mobile_number); g_free(is_messenger_enabled); } }