pidgin: 2cc4b909: Apply changes from 9dd1c4c3 to msnp9

nosnilmot at pidgin.im nosnilmot at pidgin.im
Sat May 2 21:50:34 EDT 2009


-----------------------------------------------------------------
Revision: 2cc4b9096219b80544460c7419be088836ee4705
Ancestor: 840eccc603a4027894256642e8079b1960c7c9ba
Author: nosnilmot at pidgin.im
Date: 2009-05-03T01:49:16
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/2cc4b9096219b80544460c7419be088836ee4705

Modified files:
        libpurple/protocols/msnp9/slplink.c

ChangeLog: 

Apply changes from 9dd1c4c3 to msnp9

-------------- next part --------------
============================================================
--- libpurple/protocols/msnp9/slplink.c	2f6ed0b563df31ac3217180cc8c94efe03f3d1e3
+++ libpurple/protocols/msnp9/slplink.c	f7c4bfd2a46f538ff73b29cc55cc6f1494bf954a
@@ -510,7 +510,7 @@ msn_slplink_process_msg(MsnSlpLink *slpl
 {
 	MsnSlpMessage *slpmsg;
 	const char *data;
-	gsize offset;
+	guint64 offset;
 	gsize len;
 
 #ifdef MSN_DEBUG_SLP
@@ -581,6 +581,7 @@ msn_slplink_process_msg(MsnSlpLink *slpl
 			if (slpmsg->buffer == NULL)
 			{
 				purple_debug_error("msn", "Failed to allocate buffer for slpmsg\n");
+				msn_slpmsg_destroy(slpmsg);
 				return;
 			}
 		}


More information about the Commits mailing list