Fixed a crash selected save after clicking the document close button, and small fixes

This commit is contained in:
galad87 committed 2015-08-29 11:42:54 +02:00
1 parent 29e8fe453f
commit 5d7bafae3d
18 files changed
+158 -83

No files matched your search

+4 -2
View File
@@ -16,7 +16,7 @@
{
self = [super initWithFrame:frame];
if (self) {
_pasteboardTypes = @[];
_pasteboardTypes = [@[] retain];
}
return self;
}
@@ -25,7 +25,7 @@
{
self = [super initWithCoder:coder];
if (self) {
_pasteboardTypes = @[];
_pasteboardTypes = [@[] retain];
}
return self;
}
@@ -62,6 +62,8 @@
- (void)dealloc
{
[_pasteboardTypes release];
_pasteboardTypes = nil;
[super dealloc];
}