Mercurial > pidgin-twitter
changeset 227:ed227c5765a2
fix for a problem that cancel_fetch_func() sometimes triggered double free caused by a design flaw in purple_proxy_connect_*().
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Sun, 21 Sep 2008 18:09:50 +0900 |
parents | 8da85ae0aa2c |
children | 666629903fa9 |
files | pidgin-twitter.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/pidgin-twitter.c Sat Sep 13 01:20:13 2008 +0900 +++ b/pidgin-twitter.c Sun Sep 21 18:09:50 2008 +0900 @@ -2627,9 +2627,10 @@ if(!data) return; - if(data->fetch_data) { + if(data->requested) { purple_util_fetch_url_cancel(data->fetch_data); data->fetch_data = NULL; + data->requested = FALSE; } if(data->request_list) {