# HG changeset patch # User Yoshiki Yazawa # Date 1221988190 -32400 # Node ID ed227c5765a28b7454d7df3f3322bcb6a638a19f # Parent 8da85ae0aa2c017d92b4c8b9ce2442cb1dcfbed4 fix for a problem that cancel_fetch_func() sometimes triggered double free caused by a design flaw in purple_proxy_connect_*(). diff -r 8da85ae0aa2c -r ed227c5765a2 pidgin-twitter.c --- 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) {