Free the buffer with the SlpMsgPart. Should fix a few leaks from

Wed, 05 Jan 2011 04:11:39 +0000

author
Elliott Sales de Andrade <qulogic@pidgin.im>
date
Wed, 05 Jan 2011 04:11:39 +0000
changeset 31302
0f41ef5d6b17
parent 31301
f4a90c11e9a4
child 31303
0571191a11b2

Free the buffer with the SlpMsgPart. Should fix a few leaks from
HanzZ's valgrind logs.

Refs #13084.

libpurple/protocols/msn/slpmsg_part.c file | annotate | diff | comparison | revisions
--- 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);
 

mercurial