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:
Halil Durak
2025-10-17 15:50:42 +03:00
parent 6820a00cd0
commit e9755bd38b

View File

@@ -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());
}