mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
vweb: fix vweb upload (#8392)
This commit is contained in:
parent
f5242890b8
commit
4a6642b79e
@ -661,8 +661,6 @@ pub fn (mut ctx Context) parse_multipart_form(s string, b string) {
|
||||
data: sb.str()
|
||||
}
|
||||
unsafe {
|
||||
filename.free()
|
||||
ct.free()
|
||||
sb.free()
|
||||
}
|
||||
continue
|
||||
@ -678,12 +676,6 @@ pub fn (mut ctx Context) parse_multipart_form(s string, b string) {
|
||||
sb.free()
|
||||
}
|
||||
}
|
||||
unsafe {
|
||||
fields.free()
|
||||
s.free()
|
||||
b.free()
|
||||
a.free()
|
||||
}
|
||||
}
|
||||
|
||||
fn (mut ctx Context) scan_static_directory(directory_path string, mount_path string) {
|
||||
|
Loading…
Reference in New Issue
Block a user