darwin: no need to free the buffer
parent
39cfb1d6a6
commit
2aa6ab71db
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue