Mercurial > pidgin
comparison src/ft.c @ 9523:be96293982d2
[gaim-migrate @ 10350]
I changed this when I made ft.c use the request API for file selection.
I believe this is the only change I made to dealing with reffing/unreffing.
It might fix a crash... I'm not really sure. The ref'ing/unref'ing confuses
me. Someone that knows what's going on should probably look at this.
<ferulo> it's about a little bug on transfering file resulting on a crash
<ferulo> This is the process:
<ferulo> 1.- a peer sent you a file
<ferulo> 2.- you cancel the tranfer
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Tue, 13 Jul 2004 12:07:53 +0000 |
parents | 3c79229259ba |
children | 9812dde4323e |
comparison
equal
deleted
inserted
replaced
9522:4399fc6e667a | 9523:be96293982d2 |
---|---|
206 | 206 |
207 static int | 207 static int |
208 ask_accept_ok(GaimXfer *xfer) | 208 ask_accept_ok(GaimXfer *xfer) |
209 { | 209 { |
210 gaim_xfer_request_accepted(xfer, NULL); | 210 gaim_xfer_request_accepted(xfer, NULL); |
211 gaim_xfer_unref(xfer); | |
212 | 211 |
213 return 0; | 212 return 0; |
214 } | 213 } |
215 | 214 |
216 static int | 215 static int |