same memory leak, different place

This commit is contained in:
Karl Seguin
2025-08-14 18:00:56 +08:00
parent 4fa542bc38
commit f9352e26cb

View File

@@ -297,7 +297,7 @@ pub fn blockingGet(self: *ScriptManager, url: [:0]const u8) !BlockingResult {
};
var headers = try HttpClient.Headers.init();
try self.page.requestCookie(.{}).headersForRequest(self.allocator, url, &headers);
try self.page.requestCookie(.{}).headersForRequest(page.arena, url, &headers);
var client = self.client;
try client.blockingRequest(.{