changeset 5164:98d16e2d1bf9

[gaim-migrate @ 5528] This should fix a memleak when hitting cancel on the file selection dialog when sending a file, or trying to send a file that doesn't exist, or a file of size 0, or one that you don't have permission to access. I'm sure Christian has some kind of cool master plan for what to do here, since he's all about cool master plans, but this should at least fix a lil' memleak until he has time to get his implement on. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Fri, 18 Apr 2003 06:49:49 +0000
parents 354518ac4e11
children f55f87a82311
files src/ft.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/ft.c	Fri Apr 18 06:15:05 2003 +0000
+++ b/src/ft.c	Fri Apr 18 06:49:49 2003 +0000
@@ -165,6 +165,8 @@
 	if (xfer == NULL)
 		return;
 
+	gaim_xfer_destroy(xfer);
+
 	/* TODO */
 }