comparison src/ft.c @ 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 ac9ca88d4b25
children 71927464a1db
comparison
equal deleted inserted replaced
5163:354518ac4e11 5164:98d16e2d1bf9
163 gaim_xfer_request_denied(struct gaim_xfer *xfer) 163 gaim_xfer_request_denied(struct gaim_xfer *xfer)
164 { 164 {
165 if (xfer == NULL) 165 if (xfer == NULL)
166 return; 166 return;
167 167
168 gaim_xfer_destroy(xfer);
169
168 /* TODO */ 170 /* TODO */
169 } 171 }
170 172
171 GaimXferType 173 GaimXferType
172 gaim_xfer_get_type(const struct gaim_xfer *xfer) 174 gaim_xfer_get_type(const struct gaim_xfer *xfer)