curr->bridge->driver->agp_destroy_page(phys_to_virt(curr->memory[i])); 
curr->bridge->driver->agp_destroy_page(gart_to_virt(curr->memory[i])); 
void agp_free_memory(struct agp_memory *curr){	size_t i;	if (curr == NULL)		return;	if (curr->is_bound == TRUE)		agp_unbind_memory(curr);	if (curr->type != 0) {		curr->bridge->driver->free_by_type(curr);		return;	}	if (curr->page_count != 0) {		for (i = 0; i < curr->page_count; i++) {			curr->bridge->driver->agp_destroy_page(phys_to_virt(curr->memory[i]));		}	}	agp_free_key(curr->key);	vfree(curr->memory);	kfree(curr);}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/07eee78ea8ba2d0b7b20551c35a3e7dd158d50bb/generic.c/clean/drivers/char/agp/generic.c