Commit 09655ff6 authored by Dwight Perry's avatar Dwight Perry

Removed calls to [super dealloc] for versions > lion

parent 82bc8601
......@@ -168,7 +168,9 @@
[_allSchemas release];
[_allAttributes release];
[super dealloc];
if ( NSAppKitVersionNumber <= NSAppKitVersionNumber10_6 ) {
[super dealloc];
}
}
@end
......@@ -98,7 +98,9 @@ static NSComboBoxCell *_enumCell = nil;
- (void)dealloc
{
[_element release];
[super dealloc];
if ( NSAppKitVersionNumber <= NSAppKitVersionNumber10_6 ) {
[super dealloc];
}
}
......
......@@ -110,7 +110,9 @@
[_exporter release];
[_graph release];
[super dealloc];
if ( NSAppKitVersionNumber <= NSAppKitVersionNumber10_6 ) {
[super dealloc];
}
}
@end
......@@ -143,7 +143,9 @@ NSMutableArray *_formatRenders = nil;
[_filename release];
[_formatRender release];
[_render release];
[super dealloc];
if ( NSAppKitVersionNumber <= NSAppKitVersionNumber10_6 ) {
[super dealloc];
}
}
@end
......@@ -64,7 +64,9 @@ static GVFileNotificationCenter *_defaultCenter = nil;
- (void)dealloc
{
[_path release];
[super dealloc];
if ( NSAppKitVersionNumber <= NSAppKitVersionNumber10_6 ) {
[super dealloc];
}
}
@end
......
......@@ -215,7 +215,9 @@ extern char *gvplugin_list(GVC_t * gvc, api_t api, const char *str);
[_defaultNodeAttributes release];
[_defaultEdgeAttributes release];
[super dealloc];
if ( NSAppKitVersionNumber <= NSAppKitVersionNumber10_6 ) {
[super dealloc];
}
}
@end
......@@ -56,7 +56,9 @@
- (void)dealloc
{
[_arguments release];
[super dealloc];
if ( NSAppKitVersionNumber <= NSAppKitVersionNumber10_6 ) {
[super dealloc];
}
}
@end
......@@ -108,6 +108,9 @@
- (void)dealloc
{
[[NSNotificationCenter defaultCenter] removeObserver:self name:@"GVGraphDocumentDidChange" object:[self document]];
if ( NSAppKitVersionNumber <= NSAppKitVersionNumber10_6 ) {
[super dealloc];
}
}
@end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment