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:
parent
39cfb1d6a6
commit
2aa6ab71db
@ -34,7 +34,6 @@ pub fn resource_path() string {
|
||||
assert conv_result
|
||||
result := string(buffer)
|
||||
C.CFRelease(resource_dir_url)
|
||||
free(buffer)
|
||||
return result
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user