darwin: no need to free the buffer

pull/2179/head
Alexander Medvednikov 2019-09-30 23:29:53 +03:00
parent 39cfb1d6a6
commit 2aa6ab71db
1 changed files with 0 additions and 1 deletions

View File

@ -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
} }