From 6e1e046cbb2180b2027d12df17cc70a5106d59de Mon Sep 17 00:00:00 2001 From: Jonathon Mah Date: Mon, 29 Sep 2008 21:20:28 +0930 Subject: [PATCH] Fixed memory leak in -[MMAppController openFiles:withArguments:] --- src/MacVim/MMAppController.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MacVim/MMAppController.m b/src/MacVim/MMAppController.m index 51d397d3ae..f242b61042 100644 --- a/src/MacVim/MMAppController.m +++ b/src/MacVim/MMAppController.m @@ -761,7 +761,7 @@ fsEventCallback(ConstFSEventStreamRef streamRef, // arguments for each launching process can be looked up by its PID (in the // pidArguments dictionary). - NSMutableDictionary *arguments = (args ? [args mutableCopy] + NSMutableDictionary *arguments = (args ? [[args mutableCopy] autorelease] : [NSMutableDictionary dictionary]); //