Mercurial > pidgin
changeset 15398:22bcaaefa478
Fix an issue where url_fetch_recv_cb() can be triggered after we start to redirect. This causes the crashes reported in bugs like #1642430.
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Wed, 24 Jan 2007 19:51:20 +0000 |
parents | 1ec72a759b5c |
children | 1ff775fd97ea |
files | libpurple/util.c |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/util.c Wed Jan 24 19:04:45 2007 +0000 +++ b/libpurple/util.c Wed Jan 24 19:51:20 2007 +0000 @@ -3150,6 +3150,11 @@ g_free(gfud->request); gfud->request = NULL; + gaim_input_remove(gfud->inpa); + gfud->inpa = 0; + close(gfud->fd); + gfud->fd = 0; + g_free(gfud->website.user); g_free(gfud->website.passwd); g_free(gfud->website.address);