# HG changeset patch # User Mark Doliner # Date 1050648589 0 # Node ID 98d16e2d1bf91ff57070cef6d1eab87623234510 # Parent 354518ac4e11309eed901ba5e8960a3e79381fa8 [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 diff -r 354518ac4e11 -r 98d16e2d1bf9 src/ft.c --- 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 */ }