mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
autofree: free global map consts and some vweb fixes
This commit is contained in:
@ -325,6 +325,12 @@ mut:
|
||||
data map[string][]string
|
||||
}
|
||||
|
||||
pub fn (mut h Header) free() {
|
||||
unsafe {
|
||||
h.data.free()
|
||||
}
|
||||
}
|
||||
|
||||
pub struct HeaderConfig {
|
||||
key CommonHeader
|
||||
value string
|
||||
|
Reference in New Issue
Block a user