diff --git a/Userland/Libraries/LibWeb/Fetch/FetchMethod.cpp b/Userland/Libraries/LibWeb/Fetch/FetchMethod.cpp index cbad7543b62..db54bf73ed2 100644 --- a/Userland/Libraries/LibWeb/Fetch/FetchMethod.cpp +++ b/Userland/Libraries/LibWeb/Fetch/FetchMethod.cpp @@ -143,7 +143,7 @@ JS::NonnullGCPtr fetch(JS::VM& vm, RequestInfo const& input, Reques auto& promise_capability = *promise_capability_handle; auto& request_object = *request_object_handle; - auto& response_object = *response_object_handle; + JS::GCPtr response_object = response_object_handle.ptr(); // 1. Set locallyAborted to true. locally_aborted->set_value(true);