diff src/protocols/msn/command.c @ 9193:502707ca1836

[gaim-migrate @ 9988] Patch by Felipe Contreras to add MSN file transfer and buddy icons. Please test and report any bugs! committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Sun, 06 Jun 2004 02:39:08 +0000
parents a7affa2e2986
children ab6636c5a136
line wrap: on
line diff
--- a/src/protocols/msn/command.c	Sun Jun 06 02:16:08 2004 +0000
+++ b/src/protocols/msn/command.c	Sun Jun 06 02:39:08 2004 +0000
@@ -82,7 +82,10 @@
 		msn_command_unref(cmd);
 		return;
 	}
-	
+
+	if (cmd->payload != NULL)
+		g_free(cmd->payload);
+
 	g_free(cmd->command);
 	g_strfreev(cmd->params);
 	g_free(cmd);