Skip to content

Commit ef04983

Browse files
committed
ci: fix failing tests-sanitize-memory-clang (regression after 9047f7c)
1 parent bf98f7c commit ef04983

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

vlib/net/http/request.v

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -304,16 +304,9 @@ pub fn (err MultiplePathAttributesError) msg() string {
304304
// HTTP request body. It is the inverse of parse_multipart_form. Returns
305305
// (body, boundary).
306306
// Note: Form keys should not contain quotes
307-
[manualfree]
308307
fn multipart_form_body(form map[string]string, files map[string][]FileData) (string, string) {
309308
rboundary := rand.ulid()
310-
defer {
311-
unsafe { rboundary.free() }
312-
}
313309
mut sb := strings.new_builder(1024)
314-
defer {
315-
unsafe { sb.free() }
316-
}
317310
for name, value in form {
318311
sb.write_string('\r\n--')
319312
sb.write_string(rboundary)

0 commit comments

Comments
 (0)