Fixed a leak

This commit is contained in:
Damiano Galassi committed 2015-09-13 15:05:19 +02:00
1 parent ad6dbb485c
commit c4eb66499f
1 file changed
+1 -1
+1 -1
View File
@@ -224,7 +224,7 @@
{
NSArray<__kindof NSDocument *> *documents = nil;
@synchronized(self) {
documents = [self.documents copy];
documents = [[self.documents copy] autorelease];
}
for (NSDocument *doc in documents) {