diff libgaim/protocols/oscar/peer.c @ 15292:0e8f0468a809

[gaim-migrate @ 18083] Patch from Graham Booker to change the way we do file checksums for AIM and ICQ. Instead of checksumming the entire file in a single go (which can take a lot of time if you're sending a 2GB file to someone), checksum the file 256KB at a time and return to the glib mainloop between chunks. The result is that the UI is responsive while the checksum is being calculated. It's really quite pleasant. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sun, 07 Jan 2007 20:05:46 +0000
parents c2f15e2117dc
children
line wrap: on
line diff
--- a/libgaim/protocols/oscar/peer.c	Sun Jan 07 07:30:01 2007 +0000
+++ b/libgaim/protocols/oscar/peer.c	Sun Jan 07 20:05:46 2007 +0000
@@ -206,6 +206,9 @@
 
 	peer_connection_close(conn);
 
+	if (conn->checksum_data != NULL)
+		peer_oft_checksum_destroy(conn->checksum_data);
+
 	if (conn->xfer != NULL)
 	{
 		GaimXferStatusType status;