Fixed a crash selected save after clicking the document close button, and small fixes
This commit is contained in:
1 parent
29e8fe453f
commit
5d7bafae3d
18 files changed
+158
-83
No files matched your search
@@ -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];
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user