mirror of
https://github.com/oven-sh/bun
synced 2026-02-12 20:09:04 +00:00
deref after null
This commit is contained in:
@@ -865,8 +865,8 @@ fn NewRequestContext(comptime ssl_enabled: bool, comptime debug_mode: bool, comp
|
||||
if (response.body.init.headers) |headers_| {
|
||||
this.writeHeaders(headers_);
|
||||
has_content_disposition = headers_.has(&ZigString.init("content-disposition"));
|
||||
headers_.deref();
|
||||
response.body.init.headers = null;
|
||||
headers_.deref();
|
||||
}
|
||||
|
||||
if (needs_content_type) {
|
||||
|
||||
Reference in New Issue
Block a user