mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-10-28 22:53:28 +00:00
remove early free
yet another thing we should figure out; IMO cookie can have ownership to its url, would make it a lot simpler to use & deinitialize
This commit is contained in:
@@ -173,11 +173,6 @@ pub fn setCdpCookie(cookie_jar: *CookieJar, param: CdpCookie) !void {
|
||||
},
|
||||
};
|
||||
|
||||
// Free if we had.
|
||||
if (maybe_url) |url| {
|
||||
url.deinit();
|
||||
}
|
||||
|
||||
try cookie_jar.add(cookie, std.time.timestamp());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user