From a19832d35ee37e23d6db45fee73d190bb74d4c27 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Tue, 19 Aug 2014 12:45:41 -0400 Subject: [PATCH] More comments. --- redo/dialog_darwin.m | 1 + 1 file changed, 1 insertion(+) diff --git a/redo/dialog_darwin.m b/redo/dialog_darwin.m index 98b2ae8..3e662be 100644 --- a/redo/dialog_darwin.m +++ b/redo/dialog_darwin.m @@ -25,5 +25,6 @@ char *openFile(void) dispatch_resume(dispatch_get_main_queue()); if (ret != NSFileHandlingPanelOKButton) return NULL; + // string freed on the Go side return strdup([[[op URL] path] UTF8String]); }