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]); }