do_get_file_info(): Fixed ElectricFence SIGSEGV captive
authorshort <>
Sun, 9 Nov 2003 18:37:31 +0000 (18:37 +0000)
committershort <>
Sun, 9 Nov 2003 18:37:31 +0000 (18:37 +0000)
 - LD_PRELOAD=/lib/libefence.so gnomevfs-info httpcaptive://download.microsoft.com/download/9/7/6/9763833d-bd58-41e2-9911-50f64c7252a3/xpsp1a_en_x86_CHK.exe

modules/http-method.c

index abc8a7f..4aa317d 100644 (file)
@@ -2669,6 +2669,7 @@ do_get_file_info (GnomeVFSMethod *method,
                                        gnome_vfs_file_info_copy (file_info, handle->file_info);
                                        http_cache_add_uri (uri, handle->file_info, FALSE);
                                        http_handle_close (handle, context);
+                                       handle = NULL;
                                }
 
                                /* If we get a redirect, we should be