mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
darwin: no need to free the buffer
This commit is contained in:
@@ -34,7 +34,6 @@ pub fn resource_path() string {
|
|||||||
assert conv_result
|
assert conv_result
|
||||||
result := string(buffer)
|
result := string(buffer)
|
||||||
C.CFRelease(resource_dir_url)
|
C.CFRelease(resource_dir_url)
|
||||||
free(buffer)
|
|
||||||
return result
|
return result
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user