mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
autofree: free before return tests
This commit is contained in:
@@ -110,6 +110,9 @@ pub fn mkdir(path string) ?bool {
|
||||
}
|
||||
*/
|
||||
apath := real_path(path)
|
||||
defer {
|
||||
apath.free()
|
||||
}
|
||||
/*
|
||||
$if linux {
|
||||
$if !android {
|
||||
|
Reference in New Issue
Block a user