diff libpurple/protocols/msn/slpmsg.c @ 22808:f62a4a7fe365

Fix a number of leaks. As far as I can tell, MSNP14 now logs in without leaking.
author Daniel Atallah <daniel.atallah@gmail.com>
date Sat, 03 May 2008 23:51:43 +0000
parents 44b4e8bd759b
children 4de9cd2a4af2
line wrap: on
line diff
--- a/libpurple/protocols/msn/slpmsg.c	Sat May 03 21:03:13 2008 +0000
+++ b/libpurple/protocols/msn/slpmsg.c	Sat May 03 23:51:43 2008 +0000
@@ -95,6 +95,7 @@
 		msg->nak_cb = NULL;
 		msg->ack_data = NULL;
 	}
+	g_list_free(slpmsg->msgs);
 
 	slplink->slp_msgs = g_list_remove(slplink->slp_msgs, slpmsg);