mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-10-28 22:53:28 +00:00
same memory leak, different place
This commit is contained in:
@@ -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(.{
|
||||
|
||||
Reference in New Issue
Block a user