diff options
Diffstat (limited to 'macosx/plugins/DFNet/macsrc')
| -rwxr-xr-x | macosx/plugins/DFNet/macsrc/PluginConfigController.m | 5 | ||||
| -rwxr-xr-x | macosx/plugins/DFNet/macsrc/SockDialog.m | 11 |
2 files changed, 1 insertions, 15 deletions
diff --git a/macosx/plugins/DFNet/macsrc/PluginConfigController.m b/macosx/plugins/DFNet/macsrc/PluginConfigController.m index ad186d6d..92ede4c4 100755 --- a/macosx/plugins/DFNet/macsrc/PluginConfigController.m +++ b/macosx/plugins/DFNet/macsrc/PluginConfigController.m @@ -21,7 +21,6 @@ #import "PluginConfigController.h" #include "dfnet.h" -#import "ARCBridge.h" #define kIPADDRKEY @"IP Address" #define kIPPORT @"IP Port" @@ -52,9 +51,8 @@ void AboutDlgProc() if (path) { credits = [[NSAttributedString alloc] initWithPath: path documentAttributes:NULL]; - AUTORELEASEOBJNORETURN(credits); } else { - credits = AUTORELEASEOBJ([[NSAttributedString alloc] initWithString:@""]); + credits = [[NSAttributedString alloc] initWithString:@""]; } // Get Application Icon @@ -73,7 +71,6 @@ void AboutDlgProc() dispatch_async(dispatch_get_main_queue(), ^{ [NSApp orderFrontStandardAboutPanelWithOptions:infoPaneDict]; }); - RELEASEOBJ(infoPaneDict); } void ConfDlgProc() diff --git a/macosx/plugins/DFNet/macsrc/SockDialog.m b/macosx/plugins/DFNet/macsrc/SockDialog.m index 77a09f04..0114f33f 100755 --- a/macosx/plugins/DFNet/macsrc/SockDialog.m +++ b/macosx/plugins/DFNet/macsrc/SockDialog.m @@ -10,7 +10,6 @@ #include "dfnet.h" #import "EmuThread.h" -#import "ARCBridge.h" void SysMessage(const char *fmt, ...) { @@ -81,8 +80,6 @@ void sockDestroyWaitDlg() RunOnMainThreadSync(^{ if (globalSock != nil) { [globalSock close]; - - RELEASEOBJ(globalSock); globalSock = nil; } }); @@ -102,12 +99,4 @@ void sockDestroyWaitDlg() return self; } -#if !__has_feature(objc_arc) --(void)dealloc -{ - - [super dealloc]; -} -#endif - @end |
