changeset 31542:120703c0a0dd

Free the buffer with the SlpMsgPart. Should fix a few leaks from HanzZ's valgrind logs. Refs #13084.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Wed, 05 Jan 2011 04:11:39 +0000
parents fac9edb4f73c
children 089a9825076c
files libpurple/protocols/msn/slpmsg_part.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/msn/slpmsg_part.c	Wed Jan 05 03:29:13 2011 +0000
+++ b/libpurple/protocols/msn/slpmsg_part.c	Wed Jan 05 04:11:39 2011 +0000
@@ -82,6 +82,7 @@
 {
 	g_free(part->header);
 	g_free(part->footer);
+	g_free(part->buffer);
 
 	g_free(part);