From 2aa6ab71dbe4e0e97ae6c87d9c2131c64730b7d7 Mon Sep 17 00:00:00 2001 From: Alexander Medvednikov Date: Mon, 30 Sep 2019 23:29:53 +0300 Subject: [PATCH] darwin: no need to free the buffer --- vlib/darwin/darwin.v | 1 - 1 file changed, 1 deletion(-) diff --git a/vlib/darwin/darwin.v b/vlib/darwin/darwin.v index ac015a3067..3887b45260 100644 --- a/vlib/darwin/darwin.v +++ b/vlib/darwin/darwin.v @@ -34,7 +34,6 @@ pub fn resource_path() string { assert conv_result result := string(buffer) C.CFRelease(resource_dir_url) - free(buffer) return result }