I filed a bug on this today: 33502122.
> On 2017 Jun 30, at 14:53, Jerome Krinock wrote:
>
> It looks to me that, in the edge case where user clicks File : Duplicate and
> then enters a file path/name that already exists in the filesystem, so that
> Cocoa prompts to "Replace" or "Cancel", the
It looks to me that, in the edge case where user clicks File : Duplicate and
then enters a file path/name that already exists in the filesystem, so that
Cocoa prompts to "Replace" or "Cancel", the new NSDocument object gets four (4)
unbalanced retains, and therefore leaks. This is reproducible