diff libpurple/protocols/yahoo/libymsg.c @ 27799: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 44930be7114b 0af4b1fb0566
line wrap: on
line diff
--- a/libpurple/protocols/yahoo/libymsg.c	Sun Aug 02 04:33:26 2009 +0000
+++ b/libpurple/protocols/yahoo/libymsg.c	Sun Aug 02 05:04:41 2009 +0000
@@ -1830,6 +1830,7 @@
 			g_free(error_reason);
 			g_free(auth_data->seed);
 			g_free(auth_data);
+			g_free(token);
 		}
 		else {
 			/* OK to login, correct information provided */