From ef049839ab1b85155ed35e5b603f8183bc08e6a0 Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Tue, 18 Jul 2023 02:35:01 +0300 Subject: [PATCH] ci: fix failing tests-sanitize-memory-clang (regression after 9047f7c) --- vlib/net/http/request.v | 7 ------- 1 file changed, 7 deletions(-) diff --git a/vlib/net/http/request.v b/vlib/net/http/request.v index 35b03a5de86799..d311270fbdc629 100644 --- a/vlib/net/http/request.v +++ b/vlib/net/http/request.v @@ -304,16 +304,9 @@ pub fn (err MultiplePathAttributesError) msg() string { // HTTP request body. It is the inverse of parse_multipart_form. Returns // (body, boundary). // Note: Form keys should not contain quotes -[manualfree] fn multipart_form_body(form map[string]string, files map[string][]FileData) (string, string) { rboundary := rand.ulid() - defer { - unsafe { rboundary.free() } - } mut sb := strings.new_builder(1024) - defer { - unsafe { sb.free() } - } for name, value in form { sb.write_string('\r\n--') sb.write_string(rboundary)