summaryrefslogtreecommitdiff
path: root/macosx/plugins/DFInput/macsrc/PadController.m
diff options
context:
space:
mode:
Diffstat (limited to 'macosx/plugins/DFInput/macsrc/PadController.m')
-rwxr-xr-xmacosx/plugins/DFInput/macsrc/PadController.m7
1 files changed, 1 insertions, 6 deletions
diff --git a/macosx/plugins/DFInput/macsrc/PadController.m b/macosx/plugins/DFInput/macsrc/PadController.m
index 91f0baf0..f667717a 100755
--- a/macosx/plugins/DFInput/macsrc/PadController.m
+++ b/macosx/plugins/DFInput/macsrc/PadController.m
@@ -21,7 +21,6 @@
#import <Cocoa/Cocoa.h>
#import "PadController.h"
-#import "ARCBridge.h"
#include "pad.h"
static inline void RunOnMainThreadSync(dispatch_block_t block)
@@ -330,8 +329,6 @@ void SavePADConfig()
pad2Dict, kDFPad2,
nil] forKey:PrefsKey];
[defaults synchronize];
- RELEASEOBJ(pad1Dict);
- RELEASEOBJ(pad2Dict);
}
void DoAbout()
@@ -345,9 +342,8 @@ void DoAbout()
if (path) {
credits = [[NSAttributedString alloc] initWithPath: path
documentAttributes:NULL];
- AUTORELEASEOBJNORETURN(credits);
} else {
- credits = AUTORELEASEOBJ([[NSAttributedString alloc] initWithString:@""]);
+ credits = [[NSAttributedString alloc] initWithString:@""];
}
// Get Application Icon
@@ -367,7 +363,6 @@ void DoAbout()
dispatch_async(dispatch_get_main_queue(), ^{
[NSApp orderFrontStandardAboutPanelWithOptions:infoPaneDict];
});
- RELEASEOBJ(infoPaneDict);
}
long DoConfiguration()