changeset 26875:c4aeea36c77b

Apply changes from 9dd1c4c3 to msnp9
author Stu Tomlinson <stu@nosnilmot.com>
date Sun, 03 May 2009 01:49:16 +0000
parents 6c9e264aa88d
children cf44519c2eb4
files libpurple/protocols/msnp9/slplink.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/msnp9/slplink.c	Sat May 02 23:35:19 2009 +0000
+++ b/libpurple/protocols/msnp9/slplink.c	Sun May 03 01:49:16 2009 +0000
@@ -510,7 +510,7 @@
 {
 	MsnSlpMessage *slpmsg;
 	const char *data;
-	gsize offset;
+	guint64 offset;
 	gsize len;
 
 #ifdef MSN_DEBUG_SLP
@@ -581,6 +581,7 @@
 			if (slpmsg->buffer == NULL)
 			{
 				purple_debug_error("msn", "Failed to allocate buffer for slpmsg\n");
+				msn_slpmsg_destroy(slpmsg);
 				return;
 			}
 		}