pidgin: aa0e92a7: Free the buffer with the SlpMsgPart. Sho...

qulogic at pidgin.im qulogic at pidgin.im
Tue Jan 4 23:50:52 EST 2011


----------------------------------------------------------------------
Revision: aa0e92a76dcb24aab2554cd7ae693465021a4ecc
Parent:   7ab8a64da686532545e46b38e1ac4a8e525a08a0
Author:   qulogic at pidgin.im
Date:     01/04/11 23:11:39
Branch:   im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/aa0e92a76dcb24aab2554cd7ae693465021a4ecc

Changelog: 

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

Refs #13084.

Changes against parent 7ab8a64da686532545e46b38e1ac4a8e525a08a0

  patched  libpurple/protocols/msn/slpmsg_part.c

-------------- next part --------------
============================================================
--- libpurple/protocols/msn/slpmsg_part.c	11c2906a2b2b42ae25cd14202e48637bea9f8752
+++ libpurple/protocols/msn/slpmsg_part.c	9543defc28ca403434b3f81587bd46be7f75216c
@@ -82,6 +82,7 @@ static void msn_slpmsgpart_destroy(MsnSl
 {
 	g_free(part->header);
 	g_free(part->footer);
+	g_free(part->buffer);
 
 	g_free(part);
 


More information about the Commits mailing list