do_get_file_info(): Fixed ElectricFence SIGSEGV
[gnome-vfs-httpcaptive.git] / 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