1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

checker: require unsafe for free()

This commit is contained in:
Alexander Medvednikov
2022-08-20 08:03:07 +03:00
parent fa447443ca
commit 46f32fc10c
8 changed files with 23 additions and 7 deletions

View File

@ -47,7 +47,9 @@ fn (mut a App) init() {
}
fn (mut a App) cleanup() {
a.ps.free()
unsafe {
a.ps.free()
}
}
fn (mut a App) run() {