Mercurial > pidgin.yaz
comparison libpurple/protocols/yahoo/libymsg.c @ 28137:da33da2e1a1e
Fix a bunch of memory leaks reported by Josh Mueller. Refs #9822.
author | Paul Aurich <paul@darkrain42.org> |
---|---|
date | Sun, 02 Aug 2009 05:04:41 +0000 |
parents | b6a9e2079d50 |
children | 5ac0a83f0b21 44930be7114b 0af4b1fb0566 |
comparison
equal
deleted
inserted
replaced
28136:c91832e94473 | 28137:da33da2e1a1e |
---|---|
1828 error_reason, response_no); | 1828 error_reason, response_no); |
1829 purple_connection_error_reason(gc, error, error_reason); | 1829 purple_connection_error_reason(gc, error, error_reason); |
1830 g_free(error_reason); | 1830 g_free(error_reason); |
1831 g_free(auth_data->seed); | 1831 g_free(auth_data->seed); |
1832 g_free(auth_data); | 1832 g_free(auth_data); |
1833 g_free(token); | |
1833 } | 1834 } |
1834 else { | 1835 else { |
1835 /* OK to login, correct information provided */ | 1836 /* OK to login, correct information provided */ |
1836 PurpleUtilFetchUrlData *url_data = NULL; | 1837 PurpleUtilFetchUrlData *url_data = NULL; |
1837 PurpleAccount *account = purple_connection_get_account(gc); | 1838 PurpleAccount *account = purple_connection_get_account(gc); |