diff options
author | 2009-02-26 01:40:31 +0000 | |
---|---|---|
committer | 2009-02-26 01:40:31 +0000 | |
commit | 9b74a6ca6ad37670290665770b1bb257f75f8895 (patch) | |
tree | ee096fb71c24a062a67210a78b8adc70cf1cf5fb /Foundation/GTMNSAppleScript+Handler.m | |
parent | 33124271638349be8261dd63a6402bcb32289815 (diff) |
Update so unittest for GC and 10.5.6 (since they system flakes under those GC in
those cases)
redo the mutableCopy pattern to avoid leaks.
Diffstat (limited to 'Foundation/GTMNSAppleScript+Handler.m')
-rw-r--r-- | Foundation/GTMNSAppleScript+Handler.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Foundation/GTMNSAppleScript+Handler.m b/Foundation/GTMNSAppleScript+Handler.m index be4a2dc..8c23649 100644 --- a/Foundation/GTMNSAppleScript+Handler.m +++ b/Foundation/GTMNSAppleScript+Handler.m @@ -265,7 +265,7 @@ GTM_METHOD_CHECK(NSAppleEventDescriptor, gtm_registerSelector:forTypes:count:); - (void)forwardInvocation:(NSInvocation *)invocation { SEL sel = [invocation selector]; NSMutableString *handlerName - = [[NSStringFromSelector(sel) mutableCopy] autorelease]; + = [NSMutableString stringWithString:NSStringFromSelector(sel)]; NSUInteger handlerOrigLength = [handlerName length]; [handlerName replaceOccurrencesOfString:@":" withString:@"" |