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:
@ -470,7 +470,9 @@ fn frame(x voidptr) {
|
||||
|
||||
fn cleanup(x voidptr) {
|
||||
mut app := &App(x)
|
||||
app.free()
|
||||
unsafe {
|
||||
app.free()
|
||||
}
|
||||
}
|
||||
|
||||
fn fail(error string) {
|
||||
|
Reference in New Issue
Block a user