From: Mark D. <the...@us...> - 2003-04-18 06:49:54
|
Update of /cvsroot/gaim/gaim/src In directory sc8-pr-cvs1:/tmp/cvs-serv12745/src Modified Files: ft.c Log Message: 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. Index: ft.c =================================================================== RCS file: /cvsroot/gaim/gaim/src/ft.c,v retrieving revision 1.31 retrieving revision 1.32 diff -u -d -r1.31 -r1.32 --- ft.c 17 Apr 2003 03:28:21 -0000 1.31 +++ ft.c 18 Apr 2003 06:49:49 -0000 1.32 @@ -165,6 +165,8 @@ if (xfer == NULL) return; + gaim_xfer_destroy(xfer); + /* TODO */ } |