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

+5 -3
View File
@@ -18,7 +18,7 @@
{
self = [super initWithFrame:frame];
if (self) {
_pasteboardTypes = @[];
_pasteboardTypes = [@[] retain];
}
return self;
}
@@ -27,7 +27,7 @@
{
self = [super initWithCoder:coder];
if (self) {
_pasteboardTypes = @[];
_pasteboardTypes = [@[] retain];
}
return self;
}
@@ -170,9 +170,11 @@
[super drawRow:inRow clipRect:newClipRect];
}
- (void) dealloc
- (void)dealloc
{
[_pasteboardTypes release];
_pasteboardTypes = nil;
[super dealloc];
}