diff libpurple/protocols/msn/directconn.c @ 30935:2de522fa534a

Fix a lot more leaks, some old, some new.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Sun, 21 Nov 2010 09:56:48 +0000
parents dec85cefc758
children 2f2c45abb3af
line wrap: on
line diff
--- a/libpurple/protocols/msn/directconn.c	Sun Nov 21 08:47:08 2010 +0000
+++ b/libpurple/protocols/msn/directconn.c	Sun Nov 21 09:56:48 2010 +0000
@@ -633,6 +633,7 @@
 		if (dc->header.length) {
 			part = msn_slpmsgpart_new_from_data(dc->in_buffer + 4, dc->header.length);
 			msn_slplink_process_msg(dc->slplink, part);
+			msn_slpmsgpart_destroy(part);
 		}
 
 		/*