Permalink
Browse files

+registeredCommands should return an autoreleased object

git-svn-id: http://svn.textmate.org/branches/WIP/Tools/Dialog2@9211 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
  • Loading branch information...
1 parent 0519051 commit c671808f44f49716cd8adeb0ae7506f75c9b9b16 @ciaran ciaran committed Mar 26, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 TMDCommand.mm
View
@@ -12,7 +12,7 @@ + (void)registerObject:(id)anObject forCommand:(NSString*)aCommand
+ (NSDictionary *)registeredCommands
{
- return [Commands copy];
+ return [[Commands copy] autorelease];
}
+ (id)objectForCommand:(NSString*)aCommand

0 comments on commit c671808

Please sign in to comment.