From e9755bd38b03dfa79ad0f55089cf5ac6bdbb93fb Mon Sep 17 00:00:00 2001 From: Halil Durak Date: Fri, 17 Oct 2025 15:50:42 +0300 Subject: [PATCH] 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 --- src/cdp/domains/storage.zig | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/cdp/domains/storage.zig b/src/cdp/domains/storage.zig index 54ab5e35..5dea914c 100644 --- a/src/cdp/domains/storage.zig +++ b/src/cdp/domains/storage.zig @@ -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()); }